diff options
Diffstat (limited to 'quota_inc.php')
| -rw-r--r-- | quota_inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quota_inc.php b/quota_inc.php index b78f08b..f43f2bc 100644 --- a/quota_inc.php +++ b/quota_inc.php @@ -32,11 +32,11 @@ if( $diskQuota != 0 ) { if( $quotaPercent > 100 ) { $errors['disk_quota'] = "You are over your disk quota."; - $gBitSmarty->assign_by_ref( 'errors', $errors ); + $gBitSmarty->assignByRef( 'errors', $errors ); $quotaPercent = 100; } $gBitSmarty->assign( 'usage', round( ($diskUsage / 1000000), 2 ) ); $gBitSmarty->assign( 'quota', round( ($diskQuota / 1000000), 2 ) ); -$gBitSmarty->assign_by_ref( 'quotaPercent', $quotaPercent ); +$gBitSmarty->assignByRef( 'quotaPercent', $quotaPercent ); ?> |
