summaryrefslogtreecommitdiff
path: root/includes/quota_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/quota_inc.php')
-rwxr-xr-xincludes/quota_inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/quota_inc.php b/includes/quota_inc.php
index 23125d1..4ae6442 100755
--- a/includes/quota_inc.php
+++ b/includes/quota_inc.php
@@ -29,9 +29,9 @@ $diskQuota = $quota->getUserQuota( $pQuotaUserId );
$quotaPercent = $diskQuota != 0 ? round( ( $diskUsage / $diskQuota ) * 100, 0 ) : 0;
if( $quotaPercent > 100 ) {
- $errors['disk_quota'] = "You are over your disk quota.";
- $gBitSmarty->assign( 'errors', $errors );
- $quotaPercent = 100;
+ $errors['disk_quota'] = "You are over your disk quota.";
+ $gBitSmarty->assign( 'errors', $errors );
+ $quotaPercent = 100;
}
$gBitSmarty->assign( 'usage', round( $diskUsage / 1000000, 2 ) );