fix problem with default value for userangeltype.supporter, fixes #352

main
msquare 7 years ago
parent 88ea992f9c
commit 3ee1a4b0c7

@ -177,8 +177,8 @@ function UserAngelType_delete($user_angeltype)
function UserAngelType_create($user, $angeltype)
{
DB::insert('
INSERT INTO `UserAngelTypes` (`user_id`, `angeltype_id`)
VALUES (?, ?)
INSERT INTO `UserAngelTypes` (`user_id`, `angeltype_id`, `supporter`)
VALUES (?, ?, FALSE)
',
[
$user['UID'],

Loading…
Cancel
Save