Skip to content

Commit 3b80284

Browse files
committed
bugfix
1 parent de94803 commit 3b80284

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Classes/Issue.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,11 @@ public static function error($error, $list = null)
129129
if (is_array($list)) {
130130
$out .= "<ul>";
131131
foreach ($list as $key) {
132-
Debug::error($key);
133-
$out .= "<li>" . $key['errorInfo'] . "</li>";
132+
if (!empty($key['errorInfo'])) {
133+
$out .= "<li>" . $key['errorInfo'] . "</li>";
134+
} else {
135+
$out .= "<li>" . $key . "</li>";
136+
}
134137
}
135138
$out .= "</ul>";
136139
}

0 commit comments

Comments
 (0)