git-svn-id: http://framework.zend.com/svn/framework/standard/branches/release-1.12@25131 44c647ce-9c0f-0410-b52a-842ac1e357ba
@@ -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 {