From ebbe6374fc9c308daf729d2ad1b2f8007ed771ce Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Mon, 17 Feb 2014 05:34:43 -0500
Subject: [PATCH] Merge remote-tracking branch 'origin/stable-3.0.5'
---
server/lib/classes/cron.d/300-quota_notify.inc.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/server/lib/classes/cron.d/300-quota_notify.inc.php b/server/lib/classes/cron.d/300-quota_notify.inc.php
index 1d24e7c..e8b64fa 100644
--- a/server/lib/classes/cron.d/300-quota_notify.inc.php
+++ b/server/lib/classes/cron.d/300-quota_notify.inc.php
@@ -214,10 +214,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