summaryrefslogtreecommitdiff
path: root/includes/model
diff options
context:
space:
mode:
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 7eb23794..832a3236 100644
--- a/includes/model/AngelType_model.php
+++ b/includes/model/AngelType_model.php
@@ -41,7 +41,7 @@ function AngelType_create($name, $restricted, $description) {
$result = sql_query("
INSERT INTO `AngelTypes` SET
`name`='" . sql_escape($name) . "',
- `restricted`=" . sql_escape($restricted ? 1 : 0) . "
+ `restricted`=" . sql_escape($restricted ? 1 : 0) . ",
`description`='" . sql_escape($description) . "'");
if ($result === false)
return false;