mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Also apply #2192 fix to document and comment modules; defend null
This commit is contained in:
parent
ce3f5e98d2
commit
433103bf92
3 changed files with 7 additions and 10 deletions
|
|
@ -336,7 +336,7 @@ class MemberModel extends Member
|
|||
$menus = Context::get('member_popup_menu_list') ?: [];
|
||||
foreach ($menus as $menu)
|
||||
{
|
||||
$menu->str = lang($menu->str);
|
||||
$menu->str = lang($menu->str ?? '');
|
||||
}
|
||||
// Get a list of finalized pop-up menu
|
||||
$this->add('menus', $menus);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue