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) function UserAngelType_create($user, $angeltype)
{ {
DB::insert(' DB::insert('
INSERT INTO `UserAngelTypes` (`user_id`, `angeltype_id`) INSERT INTO `UserAngelTypes` (`user_id`, `angeltype_id`, `supporter`)
VALUES (?, ?) VALUES (?, ?, FALSE)
', ',
[ [
$user['UID'], $user['UID'],

Loading…
Cancel
Save