This commit is contained in:
Jordan
2026-04-15 19:58:40 +01:00
parent 4f78c9276e
commit f64a790b9b
3 changed files with 4 additions and 4 deletions

View File

@@ -300,7 +300,7 @@ function muestra_breadcrumb($record = array(), $previousLinks = array(),$class =
function detect_error_on_code($code) {
preg_match_all('/\b(Fatal error|Parse error|Warning|Notice):.*?\b/i', $code, $matches);
return @$matches[0];
return !empty($matches[0]) ? $matches[0] : array();
}
function error_html($error, $a404 = false) {
$result = '';