[Fixed] missing return statements, on null

This commit is contained in:
2024-06-04 12:09:29 +02:00
parent 592ea4284c
commit b7167ec60a
2 changed files with 7 additions and 5 deletions

View File

@ -32,6 +32,8 @@ class ManagerHandler
return $shopModuleId;
}
}
return "";
}
/**
@ -53,7 +55,7 @@ class ManagerHandler
*/
public function getModuleSettingExplicitManagerSelectValue() :string
{
return Registry::get(ViewConfig::class)->d3GetModuleConfigParam('_HAS_STD_MANAGER');
return Registry::get(ViewConfig::class)->d3GetModuleConfigParam('_HAS_STD_MANAGER')?:"";
}
/**