diff options
Diffstat (limited to 'forum/utils/error.php')
-rw-r--r-- | forum/utils/error.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/forum/utils/error.php b/forum/utils/error.php index 78128d2..bc2cadb 100644 --- a/forum/utils/error.php +++ b/forum/utils/error.php @@ -1,6 +1,5 @@ <?php function error($msg) { - echo "<div class=\"error\">Error: " . $msg . "</div>\n"; - // exit($msg); + return "<div class=\"error\">Error: " . $msg . "</div>\n"; } ?>
\ No newline at end of file |