Fix #1269 use browser title, not mid, in new comment notification

This commit is contained in:
Kijin Sung 2020-04-16 17:34:41 +09:00
parent aa120f7f6d
commit 16b6b69276

View file

@ -675,7 +675,7 @@ class commentController extends comment
// If there is no problem to register comment then send an email to all admin were set in module admin panel
if($module_info->admin_mail && $member_info->is_admin != 'Y')
{
$mail_title = sprintf(lang('msg_comment_notify_mail'), Context::get('mid'), cut_str($oDocument->getTitleText(), 20, '...'));
$mail_title = sprintf(lang('msg_comment_notify_mail'), $module_info->browser_title, cut_str($oDocument->getTitleText(), 20, '...'));
$url_comment = getFullUrl('','document_srl',$obj->document_srl).'#comment_'.$obj->comment_srl;
if($using_validation)
{