summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Request.php b/src/Request.php
index 9ff434b..cfae6d5 100644
--- a/src/Request.php
+++ b/src/Request.php
@@ -682,13 +682,13 @@ class Request
if (is_int(key($error))) {
echo "<ul>";
foreach ($error as $key => $value) {
- echo "<li>", static::outputErrorHTML($value), "</li>";
+ echo "<li>", static::outputErrorText(null, $value, 'html'), "</li>";
}
echo "</ul>";
} else {
echo "<dl>";
foreach ($error as $key => $value) {
- echo "<dt>", $key, "</dt><dd>", static::outputErrorHTML($value), "</dd>";
+ echo "<dt>", $key, "</dt><dd>", static::outputErrorText(null, $value, 'html'), "</dd>";
}
echo "</dl>";
}