From dc7a56f4225837964cc2ec06060cc0fae1929e76 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Mon, 24 Mar 2014 11:51:51 +0100 Subject: fixed angeltype add model --- includes/model/AngelType_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2