aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/Room.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/model/Room.php b/model/Room.php
index cfc14c1..e5163a5 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -68,9 +68,9 @@ class Room
}
public function getDisplayShort() {
- $display_short = $this->getConference()->get('ROOMS.'.$this->getSlug().'.DISPLAY_SHORT', $this->getSlug());
+ $display_short = $this->getConference()->get('ROOMS.'.$this->getSlug().'.DISPLAY_SHORT', '');
if (empty($display_short)) {
- return $this->getDisplay();
+ return $this->getDisplay(); // getDisplay() falls back to slug
}
else {
return $display_short;