From 6f45f69a3add3fa06c23cf0fe53afca0856d8888 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 14 Mar 2011 09:06:02 -0400
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/cron_daily.php b/server/cron_daily.php
index aa30d3a..b736215 100644
--- a/server/cron_daily.php
+++ b/server/cron_daily.php
@@ -92,7 +92,7 @@
$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;
--
Gitblit v1.9.1