diff options
author | msquare <msquare@notrademark.de> | 2017-11-19 13:29:45 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-11-19 13:29:45 +0100 |
commit | 3ee1a4b0c7aab8abab1564179c02b3b6852cfc90 (patch) | |
tree | 57bff232294bb6b362bc74cec9948e13fd622c89 /includes/model | |
parent | 88ea992f9cd17a4722965430c74d8cb27f18688f (diff) |
fix problem with default value for userangeltype.supporter, fixes #352
Diffstat (limited to 'includes/model')
-rw-r--r-- | includes/model/UserAngelTypes_model.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/model/UserAngelTypes_model.php b/includes/model/UserAngelTypes_model.php index 0c413010..3a7508ee 100644 --- a/includes/model/UserAngelTypes_model.php +++ b/includes/model/UserAngelTypes_model.php @@ -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'], |