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;