|
@@ -74,7 +74,7 @@ class BxTasksCmts extends BxTemplCmts
|
|
|
|
|
|
|
|
if($this->_isAutoComment($aData)) {
|
|
if($this->_isAutoComment($aData)) {
|
|
|
if(isset($aResult['cmt_text']))
|
|
if(isset($aResult['cmt_text']))
|
|
|
- $aResult['cmt_text'] = $this->_getAutoCommentText($aResult['cmt_text'], $aData['cmt_time']);
|
|
|
|
|
|
|
+ $aResult['cmt_text'] = $this->_getAutoCommentText($aResult['cmt_text']);
|
|
|
|
|
|
|
|
unset($aResult['menu_actions'], $aResult['menu_manage']);
|
|
unset($aResult['menu_actions'], $aResult['menu_manage']);
|
|
|
}
|
|
}
|
|
@@ -146,7 +146,7 @@ class BxTasksCmts extends BxTemplCmts
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if($iDate !== false)
|
|
if($iDate !== false)
|
|
|
- $sText = _t('_bx_tasks_txt_msg_format', $sText, $this->_bIsApi ? bx_process_output((int)$iDate, BX_DATA_DATE_TS) : bx_time_js((int)$iDate, BX_FORMAT_DATE, true));
|
|
|
|
|
|
|
+ $sText = _t('_bx_tasks_txt_msg_format', $sText, bx_time_js((int)$iDate, BX_FORMAT_DATE, true));
|
|
|
|
|
|
|
|
return $sText;
|
|
return $sText;
|
|
|
}
|
|
}
|