From 3dd51a25715af2e97ccf07c6daa21b703d12e218 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 22 Jun 2005 18:54:17 +0000 Subject: Attempt to correct a spamd xml error --- packages/spamd.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/spamd.xml b/packages/spamd.xml index ccd97d28..a27b3106 100644 --- a/packages/spamd.xml +++ b/packages/spamd.xml @@ -120,7 +120,7 @@ fwrite($fd, "\t:file=/var/mail/whitelist.txt\n"); /* loop through each item and write out its configuration */ fwrite($fd, "\n# begin of user created entries\n"); - if($config['installedpackages']['spamd']['config'] != "") { + if($config['installedpackages']['spamd']['config'] != "") foreach($config['installedpackages']['spamd']['config'] as $spamd) { fwrite($fd, rtrim($spamd['providername']) . ":\\\n"); fwrite($fd, "\t:" . rtrim($spamd['providertype']) . ":\\\n"); @@ -129,7 +129,6 @@ fwrite($fd, "\t:" . rtrim($spamd['providermethod']) . ":\\\n"); fwrite($fd, "\t:file=" . rtrim($spamd['providerurl']) . ":\n\n"); } - } fclose($fd); $fd = fopen("/var/mail/whitelist.txt","w"); if($config['installedpackages']['spamdwhitelist']['config'] != "") -- cgit v1.2.3