Fixed: Required parameter $mode follows optional parameter $submit (#724)

This commit is contained in:
Roman Kelesidis 2023-05-25 13:31:45 +07:00 committed by GitHub
commit 00afae9c88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ require __DIR__ . '/pagestart.php';
$group_id = isset($_REQUEST[POST_GROUPS_URL]) ? (int)$_REQUEST[POST_GROUPS_URL] : 0;
$mode = isset($_REQUEST['mode']) ? (string)$_REQUEST['mode'] : '';
attachment_quota_settings('group', isset($_POST['group_update']), $mode);
attachment_quota_settings('group', $mode, isset($_POST['group_update']));
if (!empty($_POST['edit']) || !empty($_POST['new'])) {
if (!empty($_POST['edit'])) {