diff --git a/lib/ErrorsHandler.class.php b/lib/ErrorsHandler.class.php index 1f99520..9fe061f 100644 --- a/lib/ErrorsHandler.class.php +++ b/lib/ErrorsHandler.class.php @@ -2,63 +2,63 @@ class ErrorsHandler { - public function __construct () { + public function __construct () { - } + } - static public function kaput ($errorMsgs) { + static public function kaput ($errorMsgs) { - ob_get_clean(); // to prevent error message to display inside an HTML container (case of error generated by get method calls) + ob_get_clean(); // to prevent error message to display inside an HTML container (case of error generated by get method calls) - if (!is_array($errorMsgs)) { + if (!is_array($errorMsgs)) { - $errorMsgs = explode("\n", $errorMsgs); - } + $errorMsgs = explode("\n", $errorMsgs); + } - echo ' - -
- -' . print_r($msg, true) . ''; - } + echo '
' . print_r($msg, true) . ''; + } - echo ' -