summaryrefslogtreecommitdiff
path: root/forum/utils/error.php
diff options
context:
space:
mode:
authordeva <deva>2011-11-01 09:32:21 +0000
committerdeva <deva>2011-11-01 09:32:21 +0000
commit42c62cb041a2b2b95c9cda0c20fcf70334fd244c (patch)
tree38371eb37ff7348585ee84438b326c25055e2cbe /forum/utils/error.php
parent208e3b642149a9ac701a43397d31990f9b27ca79 (diff)
Rewl og krat... needs cleaning up - after port to GIT.origin
Diffstat (limited to 'forum/utils/error.php')
-rw-r--r--forum/utils/error.php3
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