summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.25/mythweb/tv-schedules.php.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-02 22:20:15 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-02 22:20:15 (GMT)
commit7a0af293fd1a81fb643acbb954d319786035e44e (patch)
tree21d4e03a6268bbaee8a3e803f3841bd58c720e26 /abs/core/mythtv/stable-0.25/mythweb/tv-schedules.php.patch
parente851f51157ac00aa3de03f4bb9743c6a7d91bea8 (diff)
downloadlinhes_pkgbuild-7a0af293fd1a81fb643acbb954d319786035e44e.zip
linhes_pkgbuild-7a0af293fd1a81fb643acbb954d319786035e44e.tar.gz
linhes_pkgbuild-7a0af293fd1a81fb643acbb954d319786035e44e.tar.bz2
mythtv: applied mythweb and php bindings patch to allow mythweb to work with php 5.4
refs #861 closes #861
Diffstat (limited to 'abs/core/mythtv/stable-0.25/mythweb/tv-schedules.php.patch')
-rw-r--r--abs/core/mythtv/stable-0.25/mythweb/tv-schedules.php.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-0.25/mythweb/tv-schedules.php.patch b/abs/core/mythtv/stable-0.25/mythweb/tv-schedules.php.patch
new file mode 100644
index 0000000..29e4ccb
--- /dev/null
+++ b/abs/core/mythtv/stable-0.25/mythweb/tv-schedules.php.patch
@@ -0,0 +1,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';
+