aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd_db.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/spamd_db.php')
-rw-r--r--packages/spamd_db.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php
index 2d25daf6..06b92705 100644
--- a/packages/spamd_db.php
+++ b/packages/spamd_db.php
@@ -65,6 +65,7 @@ if($_GET['action'] or $_POST['action']) {
/* spam trap e-mail address */
if($_POST['spamtrapemail'] <> "") {
mwexec("spamdb -T -a \"<{$_POST['spamtrapemail']}>\"");
+ mwexec("killall -HUP spamlogd");
$savemsg = $_POST['spamtrapemail'] . " added to spam trap database.";
}
@@ -208,6 +209,11 @@ if (typeof getURL == 'undefined') {
/* don't display if column blank */
$col = str_replace("<","",$col);
$col = str_replace(">","",$col);
+ /* if string is really long allow it to be wrapped by
+ * replacing @ with space@
+ */
+ if(strlen($col)>40)
+ $col = str_replace("@"," @",$col);
$rowtext .= "<td class=\"listr\">{$col}</td>";
$column++;
}