From 6f9b0d92d5d2c96ced547f5fc7c960e60985e202 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Fri, 19 Aug 2016 11:33:30 +0200 Subject: trim room-names coming from the scheduley --- model/Schedule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'model') 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; -- cgit v1.2.3