From 9a30ecdaed450020a055c06a59b9859f0a4928a3 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sun, 16 Feb 2014 02:25:03 -0500
Subject: [PATCH] Fixed: FS#2737 - Check xfer regex on dns slave zones and add the one of the primary zones Changed cron_daily.php to avoid some php notices.

---
 server/cron_daily.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/server/cron_daily.php b/server/cron_daily.php
index f497e17..9ffd390 100644
--- a/server/cron_daily.php
+++ b/server/cron_daily.php
@@ -808,10 +808,10 @@
 			$domain = $rec['domain'];
 
 			$username = $rec['system_user'];
-			$rec['used'] = $monitor_data['user'][$username]['used'];
-			$rec['soft'] = $monitor_data['user'][$username]['soft'];
-			$rec['hard'] = $monitor_data['user'][$username]['hard'];
-			$rec['files'] = $monitor_data['user'][$username]['files'];
+			$rec['used'] = @$monitor_data['user'][$username]['used'];
+			$rec['soft'] = @$monitor_data['user'][$username]['soft'];
+			$rec['hard'] = @$monitor_data['user'][$username]['hard'];
+			$rec['files'] = @$monitor_data['user'][$username]['files'];
 
 			if (!is_numeric($rec['used'])){
 				if ($rec['used'][0] > $rec['used'][1]){

--
Gitblit v1.9.1