Explorar o código

merge r25130 to release-1.12

git-svn-id: http://framework.zend.com/svn/framework/standard/branches/release-1.12@25131 44c647ce-9c0f-0410-b52a-842ac1e357ba
rob %!s(int64=13) %!d(string=hai) anos
pai
achega
a2180bcbd2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      library/Zend/Log.php

+ 1 - 1
library/Zend/Log.php

@@ -595,7 +595,7 @@ class Zend_Log
     {
         $errorLevel = error_reporting();
 
-        if ($errorLevel && $errno) {
+        if ($errorLevel & $errno) {
             if (isset($this->_errorHandlerMap[$errno])) {
                 $priority = $this->_errorHandlerMap[$errno];
             } else {