patch update

make settings form individual to reduce conflicts
This commit is contained in:
Focuslinkstech
2024-10-23 08:28:00 +01:00
parent 6ffa396b05
commit eb1d804a4d
2 changed files with 57 additions and 5 deletions

View File

@ -145,7 +145,7 @@ switch ($action) {
r2(U . 'settings/app', 'e', 'PHP GD is not installed');
}
}
if ($company == '') {
if ($_POST['general'] && $company == '') {
r2(U . 'settings/app', 'e', Lang::T('All field is required'));
} else {
if ($radius_enable) {