From 9be1d40624795a24a2bc857dcc6d76643c8ab27b Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 15 Jan 2015 11:12:30 +0100 Subject: [PATCH] checkQuota() requires user object as a parameter --- views/bootstrap/class.MyAccount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.MyAccount.php b/views/bootstrap/class.MyAccount.php index 95ac656bc..eaf887005 100644 --- a/views/bootstrap/class.MyAccount.php +++ b/views/bootstrap/class.MyAccount.php @@ -45,7 +45,7 @@ class SeedDMS_View_MyAccount extends SeedDMS_Bootstrap_Style { $this->pageNavigation(getMLText("my_account"), "my_account"); if($quota > 0) { - if(($remain = checkQuota()) < 0) { + if(($remain = checkQuota($user)) < 0) { $this->warningMsg(getMLText('quota_warning', array('bytes'=>SeedDMS_Core_File::format_filesize(abs($remain))))); } }