mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed tabbing in errorHandler()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@84838 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2cca0b0a7b
commit
c9af2765b2
@ -648,7 +648,7 @@ function exceptionHandler($exception) {
|
||||
* @param int $errline
|
||||
*/
|
||||
function errorHandler($errno, $errstr, $errfile, $errline) {
|
||||
$bt = debug_backtrace();
|
||||
$bt = debug_backtrace();
|
||||
switch($errno) {
|
||||
case E_ERROR:
|
||||
case E_CORE_ERROR:
|
||||
@ -661,7 +661,7 @@ function errorHandler($errno, $errstr, $errfile, $errline) {
|
||||
case E_USER_WARNING:
|
||||
Debug::warningHandler($errno, $errstr, $errfile, $errline, null);
|
||||
break;
|
||||
|
||||
|
||||
case E_NOTICE:
|
||||
case E_USER_NOTICE:
|
||||
Debug::noticeHandler($errno, $errstr, $errfile, $errline, null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user