Skip to content

Commit 8a0164c

Browse files
committed
attach custom variables in menu
1 parent 6f657fc commit 8a0164c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static function generate($name, $languageCode = null)
2323
if (empty($languageCode)) {
2424
$languageCode = getCurrentLanguageCode();
2525
}
26-
$fields = ['url_path', 'id', 'parent_id', 'head_title', 'menu_title', 'website_id', 'status'];
26+
$fields = ['url_path', 'id', 'parent_id', 'head_title', 'menu_title', 'website_id', 'status', 'custom'];
2727
$content = self::where('name', $name)
2828
->where('website_id', env('WEBSITE_ID'))
2929
->with('contents')

0 commit comments

Comments
 (0)