Everywhere yoda conditions are
This commit is contained in:
1 parent
d74f6d1a53
commit
be0ab98895
213 files changed
+691
-412
No files matched your search
@@ -735,9 +735,9 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
|
||||
$step = wu_request('step');
|
||||
|
||||
if ($step === 'your-company') {
|
||||
if ('your-company' === $step) {
|
||||
$fields_to_save = $this->get_general_settings();
|
||||
} elseif ($step === 'payment-gateways') {
|
||||
} elseif ('payment-gateways' === $step) {
|
||||
$fields_to_save = $this->get_payment_settings();
|
||||
} else {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user