From d7ce5fcad8a22df7c6ad83c7dc9c7df486e9f13e Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Wed, 20 Jan 2010 09:59:32 +0000 Subject: [PATCH] bugfix to prevent duplicate entries in lighty-config --- scripts/cron_tasks.inc.http.20.lighttpd.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/cron_tasks.inc.http.20.lighttpd.php b/scripts/cron_tasks.inc.http.20.lighttpd.php index b33b76a4..c175c6e0 100644 --- a/scripts/cron_tasks.inc.http.20.lighttpd.php +++ b/scripts/cron_tasks.inc.http.20.lighttpd.php @@ -309,6 +309,8 @@ class lighttpd if(!empty($error_string)) { $path_options.= $error_string; + // reset $error_string here to prevent duplicate entries + $error_string = ''; } $path_options.= '}' . "\n"; }