Refine mega menu admin and responsive navigation
Build / Build & Release draft (push) Failing after 0s
PHP tests / PHP Syntax check 5.6 => 8.1 (push) Failing after 10s
PHP tests / PHP-CS-Fixer (push) Failing after 1m6s
PHP tests / PHPStan (1.7.1.2) (push) Failing after 2m27s
PHP tests / PHPStan (1.7.2.5) (push) Failing after 1m32s
PHP tests / PHPStan (1.7.3.4) (push) Failing after 1m29s
PHP tests / PHPStan (1.7.4.4) (push) Failing after 1m45s
PHP tests / PHPStan (1.7.5.1) (push) Failing after 1m47s
PHP tests / PHPStan (1.7.6) (push) Failing after 1m45s
PHP tests / PHPStan (1.7.7) (push) Failing after 2m0s
PHP tests / PHPStan (1.7.8) (push) Failing after 1m56s
PHP tests / PHPStan (latest) (push) Failing after 2m13s

This commit is contained in:
tiamak
2026-04-13 13:34:38 +00:00
parent 8e6b6d0cdd
commit 8a2163bb34
7 changed files with 1703 additions and 456 deletions
+4
View File
@@ -716,6 +716,10 @@ class AdvancedMegaMenu extends Module implements WidgetInterface
switch ($type) {
case 'category':
if ($customLink !== '') {
return $customLink;
}
return $entityId > 0 ? $this->context->link->getCategoryLink($entityId) : '#';
case 'cms':
if ($entityId <= 0) {