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`=?
|
SET `supporter`=?
|
||||||
WHERE `id`=?
|
WHERE `id`=?
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
', [$supporter, $user_angeltype_id]);
|
', [(int) $supporter, $user_angeltype_id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue