diff --git a/admin/check/check_api.php b/admin/check/check_api.php index 23a20522ce..21e13916e2 100644 --- a/admin/check/check_api.php +++ b/admin/check/check_api.php @@ -92,6 +92,10 @@ function check_print_error_rows() { $t_error_type = 'SYSTEM NOTICE'; $t_error_description = htmlentities( $t_error['error'] ); break; + case E_DEPRECATED: + $t_error_type = 'DEPRECATED'; + $t_error_description = htmlentities( $t_error['error'] ); + break; case E_USER_ERROR: $t_error_type = 'APPLICATION ERROR #' . $t_error['error']; $t_error_description = htmlentities( error_string( $t_error['error'] ) ); @@ -106,8 +110,8 @@ function check_print_error_rows() { $t_error_description = htmlentities( $t_error['error'] ); break; default: - # shouldn't happen, just display the error just in case - $t_error_type = ''; + # shouldn't happen, display the error just in case + $t_error_type = 'UNHANDLED ERROR TYPE ' . $t_error['type']; $t_error_description = htmlentities( $t_error['error'] ); } echo "\t