mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
fix code style (Yoda condition)
This commit is contained in:
parent
7394923e81
commit
51b092e101
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class SettingsRenderer {
|
|||
if ( isset( $current_screen->id ) && 'woocommerce_page_wc-settings' === $current_screen->id
|
||||
&& isset( $_GET['section'] ) && 'ppcp-gateway' === $_GET['section'] ) {
|
||||
|
||||
if ( isset( $_GET['ppcp-tab'] ) && $_GET['ppcp-tab'] !== 'ppcp-gateway' ) {
|
||||
if ( isset( $_GET['ppcp-tab'] ) && 'ppcp-gateway' !== $_GET['ppcp-tab'] ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue