diff options
author | cash <cash.costello@gmail.com> | 2012-12-08 12:32:10 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2012-12-08 12:32:10 -0500 |
commit | 3a47b126b392afe4eaab58ffa869d104cbd779ec (patch) | |
tree | 19b1a43c62afbe6cffef4583f4d5422523792205 /engine/lib/elgglib.php | |
parent | f6cdb29d2ca93ac1a4aaafdf54fd2ed0e89291af (diff) | |
download | elgg-3a47b126b392afe4eaab58ffa869d104cbd779ec.tar.gz elgg-3a47b126b392afe4eaab58ffa869d104cbd779ec.tar.bz2 |
Refs #4869 fixed formatting
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index b9cc1a087..540605876 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -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; |