1 |
diff -up php-pear-Log-1.11.6/Log-1.11.6/Log.php.prevent-deprecated-messages php-pear-Log-1.11.6/Log-1.11.6/Log.php |
2 |
--- php-pear-Log-1.11.6/Log-1.11.6/Log.php.prevent-deprecated-messages 1970-01-01 10:13:08.000000000 +0100 |
3 |
+++ php-pear-Log-1.11.6/Log-1.11.6/Log.php 2011-09-21 08:37:18.000000000 +0200 |
4 |
@@ -166,7 +166,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 |
|