aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-23 09:07:47 -0400
committerCash Costello <cash.costello@gmail.com>2012-06-23 09:07:47 -0400
commitffd992ae30c58acd60ccd1f536a5000982fc4745 (patch)
treeaf98c7889407734c0e391674290b50ed576f7d1d /engine
parentfcda1dd617d4abee068f0bfd632d5d15c024940e (diff)
downloadelgg-ffd992ae30c58acd60ccd1f536a5000982fc4745.tar.gz
elgg-ffd992ae30c58acd60ccd1f536a5000982fc4745.tar.bz2
Fixes #4619 downgraded type violations to warnings
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php2
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;