mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 13:24:01 -07:00
Fixed: Required parameter $mode follows optional parameter $submit (#724)
This commit is contained in:
parent
d951ee0a84
commit
00afae9c88
2 changed files with 2 additions and 2 deletions
|
@ -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'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue