More yoda conditions
This commit is contained in:
@ -437,7 +437,7 @@ class Checkout_Pages {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
if ('POST' === $_SERVER['REQUEST_METHOD']) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user