summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.25/mythweb/tv-schedules.php.patch
blob: 29e4ccbe7bf36b65a664edbf39a320eb10fe8df0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
*** modules/tv/schedules.php.orig	2012-06-05 09:05:32.935946957 +0200
--- modules/tv/schedules.php	2012-06-05 09:05:36.633022229 +0200
***************
*** 47,52 ****
--- 47,56 ----
      if (count($the_schedules))
          sort_programs($the_schedules, 'schedules_sortby');
  
+ 			  // Hack:  Disable warnings about "Creating default
+ 			  // object from empty value" from below line
+ 			  // "$schedule->channel->name = '[ '.t('Any').' ]';"
+ 			  ini_set('error_reporting', E_ERROR);
  // Load the class for this page
      require_once tmpl_dir.'schedules.php';