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

@ -26,7 +26,7 @@ function attach_build_auth_levels($is_auth, &$s_auth_can)
/**
* Called from admin_users.php and admin_groups.php in order to process Quota Settings (admin/admin_users.php:admin/admin_groups.php)
*/
function attachment_quota_settings($admin_mode, $submit = false, $mode)
function attachment_quota_settings($admin_mode, $mode, $submit = false)
{
global $template, $lang, $attach_config;
$this_userdata = [];