Skip to content

Commit e7e47cb

Browse files
committed
fix #2395
1 parent d1b3ac8 commit e7e47cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lhc_web/modules/lhfront/tabs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
$nick = $chat->nick;
4040

41-
if ($personalAdminTheme instanceof erLhAbstractModelAdminTheme && !empty($personalAdminTheme->css_attributes_array['nick_template'])) {
41+
if (isset($personalAdminTheme) && $personalAdminTheme instanceof erLhAbstractModelAdminTheme && !empty($personalAdminTheme->css_attributes_array['nick_template'])) {
4242
$nick = erLhcoreClassGenericBotWorkflow::translateMessage($personalAdminTheme->css_attributes_array['nick_template'], array('chat' => $chat, 'args' => ['chat' => $chat]));
4343
}
4444

0 commit comments

Comments
 (0)