diff --git a/cake/libs/cake_log.php b/cake/libs/cake_log.php index efac12bcf..d84931587 100644 --- a/cake/libs/cake_log.php +++ b/cake/libs/cake_log.php @@ -253,7 +253,7 @@ class CakeLog { * @return void */ function handleError($code, $description, $file = null, $line = null, $context = null) { - if ($code === 2048 || $code === 8192) { + if ($code === 2048 || $code === 8192 || error_reporting() === 0) { return; } switch ($code) {