summaryrefslogtreecommitdiff
path: root/includes/model/Room_model.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-28 14:56:02 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-28 14:56:02 +0100
commitca37de95daa065c25b7a4b227b539c18e713e00b (patch)
tree763ddb63b01919bf9f956bd0e464e7a04671df1d /includes/model/Room_model.php
parent739eddefd512b2c7775d6f4831186317217fcfbc (diff)
fix shift update
Diffstat (limited to 'includes/model/Room_model.php')
-rw-r--r--includes/model/Room_model.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/model/Room_model.php b/includes/model/Room_model.php
index 49ad0c60..523436c6 100644
--- a/includes/model/Room_model.php
+++ b/includes/model/Room_model.php
@@ -19,6 +19,7 @@ function Room_ids() {
*/
function Room($id) {
$room_source = sql_select("SELECT * FROM `Room` WHERE `RID`='" . sql_escape($id) . "' AND `show` = 'Y' LIMIT 1");
+
if ($room_source === false)
return false;
if (count($room_source) > 0)