From 7449fb5315d790e7002df95e872641a87d886139 Mon Sep 17 00:00:00 2001
From: Linus <linus@linus9000.de>
Date: Wed, 31 Aug 2016 08:54:44 +0200
Subject: [PATCH] Fixes db quota (typo)

---
 server/lib/classes/cron.d/300-quota_notify.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 10235b9129..8adf84b8da 100644
--- a/server/lib/classes/cron.d/300-quota_notify.inc.php
+++ b/server/lib/classes/cron.d/300-quota_notify.inc.php
@@ -442,7 +442,7 @@ class cronjob_quota_notify extends cronjob {
 								else $used_ratio = 0;
 
 								//* send notifications only if 90% or more of the quota are used
-								if($used_ratio > 0.9 && $user_ratio != 0) {
+								if($used_ratio > 0.9 && $used_ratio != 0) {
 
 									//* could a notification be sent?
 									$send_notification = false;
-- 
GitLab