aboutsummaryrefslogtreecommitdiff
path: root/model/Schedule.php
diff options
context:
space:
mode:
authorMaZderMind2016-08-19 11:33:30 +0200
committerMaZderMind2016-08-19 11:33:30 +0200
commit6f9b0d92d5d2c96ced547f5fc7c960e60985e202 (patch)
tree42e87d9d2c42476ad36342d1d3600ca0d81138ba /model/Schedule.php
parentc13bd57ed14da1d44426e09918700b46eb3f12b7 (diff)
trim room-names coming from the scheduley
Diffstat (limited to '')
-rw-r--r--model/Schedule.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/Schedule.php b/model/Schedule.php
index a35ad18..9fdc32d 100644
--- a/model/Schedule.php
+++ b/model/Schedule.php
@@ -109,7 +109,7 @@ class Schedule extends ModelBase
$roomidx++;
$lastend = false;
- $name = (string)$room['name'];
+ $name = trim((string)$room['name']);
if($this->isRoomFiltered($name))
continue;