Merge branch 'trunk' into PCP-4210-features-refactor-to-use-rest-endpoints

This commit is contained in:
carmenmaymo 2025-02-18 11:20:01 +01:00
commit 17702ff06b
No known key found for this signature in database
GPG key ID: 6023F686B0F3102E

View file

@ -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;
}