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.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/model/Room_model.php b/includes/model/Room_model.php
index d7031d84..4c097f23 100644
--- a/includes/model/Room_model.php
+++ b/includes/model/Room_model.php
@@ -2,6 +2,7 @@
/**
* returns a list of rooms.
+ *
* @param boolean $show_all returns also hidden rooms when true
*/
function Rooms($show_all = false)
@@ -22,7 +23,7 @@ function Room_delete($room_id)
/**
* Create a new room
*
- * @param string $name
+ * @param string $name
* Name of the room
* @param boolean $from_frab
* Is this a frab imported room?
@@ -51,7 +52,7 @@ function Room_create($name, $from_frab, $public)
function Room($room_id)
{
$room_source = sql_select("SELECT * FROM `Room` WHERE `RID`='" . sql_escape($room_id) . "' AND `show` = 'Y'");
-
+
if ($room_source === false) {
return false;
}