aboutsummaryrefslogtreecommitdiff
path: root/model/Schedule.php
diff options
context:
space:
mode:
Diffstat (limited to 'model/Schedule.php')
-rw-r--r--model/Schedule.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/Schedule.php b/model/Schedule.php
index 0b2958e..a35ad18 100644
--- a/model/Schedule.php
+++ b/model/Schedule.php
@@ -170,7 +170,7 @@ class Schedule extends ModelBase
}
$personnames = array();
- if(isset($event->persons) && is_array($event->persons)) foreach($event->persons->person as $person)
+ if(isset($event->persons)) foreach($event->persons->person as $person)
$personnames[] = (string)$person;
$program[$name][] = array(