~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Factory/DayPartFactory.php

  • Committer: Dan Garner
  • Date: 2016-09-05 09:24:54 UTC
  • mto: This revision was merged to the branch mainline in revision 532.
  • Revision ID: git-v1:77103204f31838a57f591ebdebf5e79b2375a66e
Working daypart add/edit/delete forms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
 
124
124
        foreach ($this->getStore()->select($sql, $params) as $row) {
125
125
            $dayPart = $this->createEmpty()->hydrate($row);
126
 
            $dayPart->exceptions = json_decode($dayPart->exceptions);
 
126
            $dayPart->exceptions = json_decode($dayPart->exceptions, true);
127
127
 
128
128
            $entries[] = $dayPart;
129
129
        }