diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/mythweb/mythweb-0.28.1-php-7.1.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www-apps/mythweb/mythweb-0.28.1-php-7.1.patch b/www-apps/mythweb/mythweb-0.28.1-php-7.1.patch new file mode 100644 index 0000000..ce28b8a --- /dev/null +++ b/www-apps/mythweb/mythweb-0.28.1-php-7.1.patch @@ -0,0 +1,19 @@ +Index: includes/utils.php
+===================================================================
+--- a/includes/utils.php (revision 7b273eca6a743bd712c15f1a57b4f2c82051fe4a)
++++ a/includes/utils.php (revision 52ff70ecfdad06b0b66f8a5ec67cefc1b55a1861)
+@@ -218,10 +218,10 @@
+ * We require PHP 5.3 since fixes/0.24 which added a very similar ?: operator.
+ **/
+- function _or($this, $or_this, $gt = false) {
++ function _or($a, $or_this, $gt = false) {
+ if ($gt === true)
+- return $this > 0 ? $this : $or_this;
++ return $a > 0 ? $a : $or_this;
+ if (!empty($gt))
+- return $this > $gt ? $this : $or_this;
+- return $this ? $this : $or_this;
++ return $a > $gt ? $a : $or_this;
++ return $a ? $a : $or_this;
+ }
+
|