diff --git a/system/controllers/settings.php b/system/controllers/settings.php index 2220f50a..3d084e5b 100644 --- a/system/controllers/settings.php +++ b/system/controllers/settings.php @@ -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) { diff --git a/ui/ui/app-settings.tpl b/ui/ui/app-settings.tpl index b578ec9f..dcda7509 100644 --- a/ui/ui/app-settings.tpl +++ b/ui/ui/app-settings.tpl @@ -120,12 +120,17 @@ {Lang::T('Income will reset every this day')} - + + + +
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+
+

{Lang::T('Must include')} [text] & [number], - {Lang::T('it will be replaced.')} + {Lang::T('it will be replaced.')}

{Lang::T('You can use')} WhatsApp {Lang::T('in here too.')} {Lang::T('Free @@ -563,7 +594,10 @@ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+