Merge branch 'support/3.2' into develop

This commit is contained in:
Stephen Abello
2024-12-19 15:16:51 +01:00
6 changed files with 185 additions and 121 deletions

View File

@@ -687,6 +687,11 @@ abstract class AbstractBrick
*/
public static function LoadClassDefinitionFromPortalProperties($aPortalProperties)
{
// Check if they are any brick templates
if(!array_key_exists('bricks', $aPortalProperties['templates']) || !is_array($aPortalProperties['templates']['bricks'])) {
return;
}
// Get the bricks templates
$aBricksTemplates = $aPortalProperties['templates']['bricks'];
$sClassFQCN = static::class;

View File

@@ -98,7 +98,7 @@ class ObjectController extends BrickController
protected ObjectFormHandlerHelper $oObjectFormHandlerHelper,
protected NavigationRuleHelper $oNavigationRuleHelper,
protected ContextManipulatorHelper $oContextManipulatorHelper,
protected array $aCombodoPortalInstanceConf
protected array $aCombodoPortalInstanceConf = []
)
{
ObjectBrick::InitializeSelf($this->aCombodoPortalInstanceConf);