fix problem with default value for userangeltype.supporter, fixes #352
This commit is contained in:
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…
Reference in New Issue