summaryrefslogtreecommitdiff
path: root/admin/admin_quota_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/admin_quota_inc.php')
-rwxr-xr-xadmin/admin_quota_inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/admin_quota_inc.php b/admin/admin_quota_inc.php
index 22a3d87..47abee5 100755
--- a/admin/admin_quota_inc.php
+++ b/admin/admin_quota_inc.php
@@ -22,10 +22,10 @@ if( !empty( $_REQUEST['savequota'] ) ) {
if( $gQuota->store( $_REQUEST ) ) {
header( 'Location: '.KERNEL_PKG_URL.'admin/index.php?page=quota' );
die;
- } else {
+ }
$saveError = TRUE;
$gBitSmarty->assign( 'errors', $gQuota->mErrors );
- }
+
} elseif( !empty( $_REQUEST['assignquota'] ) ) {
foreach( array_keys( $_REQUEST ) as $key ) {
if( preg_match( '/^quota_group_([-0-9]*)/', $key, $match ) ) {