Update file metadata for Product.php and fix formatting in appagebuilder.php

This commit is contained in:
2025-05-14 15:09:12 +02:00
parent a155698a53
commit 3bedb8a8bc
2 changed files with 59 additions and 30 deletions

View File

@@ -1926,7 +1926,6 @@ class APPageBuilder extends Module
$cache_id = $this->getCacheId('apshortcode', $shortcode_key);
if ($disable_cache || !$this->isCached($this->templateFile, $cache_id)) {
$shortcode_html = '';
$shortcode_obj = ApPageBuilderShortcodeModel::getShortCode($shortcode_key);
if (isset($shortcode_obj['id_appagebuilder']) && $shortcode_obj['id_appagebuilder'] != '' && $shortcode_obj['id_appagebuilder'] != 0) {
@@ -3253,4 +3252,4 @@ class APPageBuilder extends Module
$employee = null;
return Module::getPermissionStatic($this->id, $action, $employee);
}
}
}