]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #4869 fixed formatting
authorcash <cash.costello@gmail.com>
Sat, 8 Dec 2012 17:32:10 +0000 (12:32 -0500)
committercash <cash.costello@gmail.com>
Sat, 8 Dec 2012 17:32:10 +0000 (12:32 -0500)
engine/lib/elgglib.php

index b9cc1a087f31da3a3684a5cbb3253c98a7877c3f..54060587678994bc133477bd7053f2bf482fb2dd 100644 (file)
@@ -1079,8 +1079,8 @@ function _elgg_php_error_handler($errno, $errmsg, $filename, $linenum, $vars) {
                case E_USER_WARNING :
                case E_RECOVERABLE_ERROR: // (e.g. type hint violation)
                        
-                       // check if the error wasn't suppressed by @-functionname
-                       if(error_reporting()){
+                       // check if the error wasn't suppressed by the error control operator (@)
+                       if (error_reporting()) {
                                error_log("PHP WARNING: $error");
                        }
                        break;