diff options
| author | Eliot Whalan <ewhal@pantsu.cat> | 2015-09-24 13:14:30 +0200 |
|---|---|---|
| committer | Eliot Whalan <ewhal@pantsu.cat> | 2015-09-24 13:14:30 +0200 |
| commit | 510c6b2b9c8bed397803931a6e00ce7e82b59085 (patch) | |
| tree | c33f9c3821868249286bf527b87d7a93d2c4729e /static/classes | |
| parent | d7e698d5a284bf6a7b20a4a47f6d72f5f3c360db (diff) | |
HTML-ify html_error() response with <p>
Diffstat (limited to 'static/classes')
| -rwxr-xr-x | static/classes/Response.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php index 1f9f940..3afcfdb 100755 --- a/static/classes/Response.class.php +++ b/static/classes/Response.class.php @@ -146,7 +146,7 @@ class Response private static function html_error($code, $description) { - return 'ERROR: ('.$code.') '.$description; + return '<p>ERROR: ('.$code.') '.$description.'</p>'; } private static function html_success($files) |
