diff options
author | Arnold Daniels <arnold@jasny.net> | 2016-01-24 11:51:14 -0400 |
---|---|---|
committer | Arnold Daniels <arnold@jasny.net> | 2016-01-24 11:51:14 -0400 |
commit | 22be52cf6980fa7ebcd62392ce662ac992f45187 (patch) | |
tree | 1aa3ca607118675d91e09e566b0d6d1e00755001 /src | |
parent | 8b27f3df6c770469e035c0ef52a4134592aceafb (diff) | |
download | router-22be52cf6980fa7ebcd62392ce662ac992f45187.zip router-22be52cf6980fa7ebcd62392ce662ac992f45187.tar.gz router-22be52cf6980fa7ebcd62392ce662ac992f45187.tar.bz2 |
Fixed Request::outputErrorListAsHTML()
Diffstat (limited to 'src')
-rw-r--r-- | src/Request.php | 4 |
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>"; } |