mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 05:55:02 +03:00
fix remark
This commit is contained in:
parent
5dc19f68f3
commit
40c0424c46
|
@ -1024,7 +1024,11 @@ class ActionBlog extends Action {
|
|||
*/
|
||||
protected function CheckParentComment($oTopic, $sText, $oCommentParent) {
|
||||
|
||||
$sParentId = (int)getRequest('reply');
|
||||
$sParentId = 0;
|
||||
if ($oCommentParent) {
|
||||
$sParentId = $oCommentParent->GetCommentId();
|
||||
}
|
||||
|
||||
$bOk = true;
|
||||
/**
|
||||
* Проверям на какой коммент отвечаем
|
||||
|
|
Loading…
Reference in a new issue