summaryrefslogtreecommitdiff
path: root/includes/quota_inc.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:52:56 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:52:56 +0100
commit68347720e62934628a466945696d9218c45cc42d (patch)
tree9a789c756ef220078f9c48960b8e2390214463e5 /includes/quota_inc.php
parentf0e7da86b8701c3d71d02ed7aa5db968025592a5 (diff)
downloadquota-master.tar.gz
quota-master.tar.bz2
quota-master.zip
php-cs-fixer tidies to php8.5 standardsHEADmaster
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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 ) );