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

This commit is contained in:
msquare 2017-11-19 13:29:45 +01:00
parent 88ea992f9c
commit 3ee1a4b0c7
1 changed files with 2 additions and 2 deletions

View File

@ -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'],