summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/model/UserAngelTypes_model.php4
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'],