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)
|
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…
Reference in New Issue