From e5880c51a20006e612c9289b6b77b37050601546 Mon Sep 17 00:00:00 2001 From: msquare Date: Wed, 6 Dec 2017 19:21:46 +0100 Subject: [PATCH] fix #376: Removing supporter rights does not work --- includes/model/UserAngelTypes_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/model/UserAngelTypes_model.php b/includes/model/UserAngelTypes_model.php index 3a7508ee..42742f54 100644 --- a/includes/model/UserAngelTypes_model.php +++ b/includes/model/UserAngelTypes_model.php @@ -105,7 +105,7 @@ function UserAngelType_update($user_angeltype_id, $supporter) SET `supporter`=? WHERE `id`=? LIMIT 1 - ', [$supporter, $user_angeltype_id]); + ', [(int) $supporter, $user_angeltype_id]); } /**