Commit 6f45f69a authored by tbrehm's avatar tbrehm

Fixed: FS#1558 - PHP Notice: Undefined offset: 1 in...

Fixed: FS#1558 - PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95
parent 740f93c6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment