mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Merge branch 'trunk' into PCP-4210-features-refactor-to-use-rest-endpoints
This commit is contained in:
commit
17702ff06b
1 changed files with 4 additions and 1 deletions
|
@ -120,7 +120,10 @@ class Settings implements ContainerInterface {
|
|||
* @return bool
|
||||
*/
|
||||
public function has( string $id ) {
|
||||
if ( $this->settings_map_helper->has_mapped_key( $id ) ) {
|
||||
if (
|
||||
$this->settings_map_helper->has_mapped_key( $id )
|
||||
&& ! is_null( $this->settings_map_helper->mapped_value( $id ) )
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue