diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-06-23 09:07:47 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-06-23 09:07:47 -0400 |
commit | ffd992ae30c58acd60ccd1f536a5000982fc4745 (patch) | |
tree | af98c7889407734c0e391674290b50ed576f7d1d | |
parent | fcda1dd617d4abee068f0bfd632d5d15c024940e (diff) | |
download | elgg-ffd992ae30c58acd60ccd1f536a5000982fc4745.tar.gz elgg-ffd992ae30c58acd60ccd1f536a5000982fc4745.tar.bz2 |
Fixes #4619 downgraded type violations to warnings
-rw-r--r-- | engine/lib/elgglib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 62cb2d5bb..65666954c 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -1060,7 +1060,6 @@ function _elgg_php_error_handler($errno, $errmsg, $filename, $linenum, $vars) { switch ($errno) { case E_USER_ERROR: - case E_RECOVERABLE_ERROR: // (e.g. type hint violation) error_log("PHP ERROR: $error"); register_error("ERROR: $error"); @@ -1070,6 +1069,7 @@ function _elgg_php_error_handler($errno, $errmsg, $filename, $linenum, $vars) { case E_WARNING : case E_USER_WARNING : + case E_RECOVERABLE_ERROR: // (e.g. type hint violation) error_log("PHP WARNING: $error"); break; |