summaryrefslogtreecommitdiff
path: root/includes/model
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-26 20:41:35 +0100
committermsquare <msquare@notrademark.de>2017-12-27 11:35:26 +0100
commitabf4b1da30e7fabebfa5e36cfc5c1fe691320a1e (patch)
tree5532fee9e0a73cab59a1346330c6da071300db4a /includes/model
parent07f1cae93dcd9f049522f30eeb1aa5f52cdc24eb (diff)
check if logged in before sign up
Diffstat (limited to 'includes/model')
-rw-r--r--includes/model/AngelType_model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/AngelType_model.php b/includes/model/AngelType_model.php
index 3641f125..6feb9dd0 100644
--- a/includes/model/AngelType_model.php
+++ b/includes/model/AngelType_model.php
@@ -126,7 +126,7 @@ function AngelType_create($angeltype)
$angeltype['contact_name'],
$angeltype['contact_dect'],
$angeltype['contact_email'],
- $angeltype['show_on_dashboard']
+ (int)$angeltype['show_on_dashboard']
]
);