summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-06 19:21:46 +0100
committermsquare <msquare@notrademark.de>2017-12-06 19:21:46 +0100
commite5880c51a20006e612c9289b6b77b37050601546 (patch)
treece9abd0dd9423e09da8c5bb1b29a3281b2d51675 /includes
parent59a24dfbdb1325518e42869badf5211ac339bf49 (diff)
fix #376: Removing supporter rights does not work
Diffstat (limited to 'includes')
-rw-r--r--includes/model/UserAngelTypes_model.php2
1 files changed, 1 insertions, 1 deletions
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]);
}
/**