fix #376: Removing supporter rights does not work
This commit is contained in:
parent
59a24dfbdb
commit
e5880c51a2
|
@ -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]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue