]> git.pld-linux.org Git - packages/php-pear-PEAR.git/commitdiff
- strict mode fix
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 4 Jul 2007 13:28:52 +0000 (13:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-PEAR-strict.patch -> 1.1

php-pear-PEAR-strict.patch [new file with mode: 0644]

diff --git a/php-pear-PEAR-strict.patch b/php-pear-PEAR-strict.patch
new file mode 100644 (file)
index 0000000..89708a1
--- /dev/null
@@ -0,0 +1,15 @@
+--- /usr/share/pear/PEAR.php~  2007-07-04 01:22:17.000000000 +0300
++++ /usr/share/pear/PEAR.php   2007-07-04 16:25:12.627146755 +0300
+@@ -566,10 +566,10 @@
+             $ec = 'PEAR_Error';
+         }
+         if ($skipmsg) {
+-            $a = &new $ec($code, $mode, $options, $userinfo);
++            $a = new $ec($code, $mode, $options, $userinfo);
+             return $a;
+         } else {
+-            $a = &new $ec($message, $code, $mode, $options, $userinfo);
++            $a = new $ec($message, $code, $mode, $options, $userinfo);
+             return $a;
+         }
+     }
This page took 0.054585 seconds and 4 git commands to generate.