From 6f45f69a3add3fa06c23cf0fe53afca0856d8888 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Mon, 14 Mar 2011 13:06:02 +0000 Subject: [PATCH] Fixed: FS#1558 - PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95 --- server/cron_daily.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/cron_daily.php b/server/cron_daily.php index aa30d3a79..b7362153f 100644 --- a/server/cron_daily.php +++ b/server/cron_daily.php @@ -92,7 +92,7 @@ function setConfigVar( $filename, $varName, $varValue ) { $out = ''; $found = 0; foreach($lines as $line) { - list($key, $value) = preg_split('/[\t= ]+/', $line, 2); + @list($key, $value) = preg_split('/[\t= ]+/', $line, 2); if($key == $varName) { $out .= $varName.' '.$varValue."\n"; $found = 1; -- GitLab