summaryrefslogtreecommitdiff
path: root/includes/model/Room_model.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/model/Room_model.php')
-rw-r--r--includes/model/Room_model.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/model/Room_model.php b/includes/model/Room_model.php
index 2868916e..6d8a205e 100644
--- a/includes/model/Room_model.php
+++ b/includes/model/Room_model.php
@@ -22,8 +22,8 @@ function Room_create($name, $from_frab, $public) {
$result = sql_query("
INSERT INTO `Room` SET
`Name`='" . sql_escape($name) . "',
- `FromPentabarf`='" . sql_escape($from_frab ? 'Y' : 'N') . "',
- `show`='" . sql_escape($public ? 'Y' : 'N') . "',
+ `FromPentabarf`='" . sql_escape($from_frab ? 'Y' : '') . "',
+ `show`='" . sql_escape($public ? 'Y' : '') . "',
`Number`=0");
if ($result === false)
return false;