summaryrefslogtreecommitdiff
path: root/includes/model/AngelType_model.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/model/AngelType_model.php')
-rw-r--r--includes/model/AngelType_model.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/model/AngelType_model.php b/includes/model/AngelType_model.php
index bc535667..69c4e13f 100644
--- a/includes/model/AngelType_model.php
+++ b/includes/model/AngelType_model.php
@@ -152,10 +152,10 @@ function AngelType_create($angeltype)
',
[
$angeltype['name'],
- (bool)$angeltype['restricted'],
+ (int)$angeltype['restricted'],
$angeltype['description'],
- (bool)$angeltype['requires_driver_license'],
- (bool)$angeltype['no_self_signup'],
+ (int)$angeltype['requires_driver_license'],
+ (int)$angeltype['no_self_signup'],
$angeltype['contact_user_id'],
$angeltype['contact_name'],
$angeltype['contact_dect'],