Ticket #10504: schedules.php.patch

File schedules.php.patch, 567 bytes (added by Dave Sp <davespmyth@…>, 14 years ago)
Line 
1*** modules/tv/tmpl/default/schedules.php.old 2011-04-03 06:05:31.000000000 -0500
2--- modules/tv/tmpl/default/schedules.php 2012-03-27 05:37:40.000000000 -0500
3***************
4*** 90,95 ****
5--- 90,100 ----
6 </tr>
7 </thead>
8 <?php
9+ // Hack: Disable warnings about "Creating default
10+ // object from empty value" from below line
11+ // "$schedule->channel->name = '[ '.t('Any').' ]';"
12+ ini_set('error_reporting', E_ERROR);
13+
14 $prev_group = '';
15 $cur_group = '';
16 foreach ($the_schedules as $schedule) {