diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:52:56 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:52:56 +0100 |
| commit | 68347720e62934628a466945696d9218c45cc42d (patch) | |
| tree | 9a789c756ef220078f9c48960b8e2390214463e5 /includes/quota_inc.php | |
| parent | f0e7da86b8701c3d71d02ed7aa5db968025592a5 (diff) | |
| download | quota-master.tar.gz quota-master.tar.bz2 quota-master.zip | |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'includes/quota_inc.php')
| -rwxr-xr-x | includes/quota_inc.php | 6 |
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 ) ); |
