1 |
diff -up php-pear-Log-1.9.13/Log-1.9.13/Log.php.prevent-deprecated-messages php-pear-Log-1.9.13/Log-1.9.13/Log.php |
2 |
--- php-pear-Log-1.9.13/Log-1.9.13/Log.php.prevent-deprecated-messages 2007-12-13 07:47:09.000000000 +0100 |
3 |
+++ php-pear-Log-1.9.13/Log-1.9.13/Log.php 2011-09-19 21:52:35.000000000 +0200 |
4 |
@@ -165,7 +165,7 @@ class Log |
5 |
|
6 |
/* If the class exists, return a new instance of it. */ |
7 |
if (Log::_classExists($class)) { |
8 |
- $obj = &new $class($name, $ident, $conf, $level); |
9 |
+ $obj = new $class($name, $ident, $conf, $level); |
10 |
return $obj; |
11 |
} |
12 |
|