1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-03 06:55:03 +03:00

fix remark

This commit is contained in:
vatseek 2013-04-01 10:18:12 +03:00
parent 5dc19f68f3
commit 40c0424c46

View file

@ -1024,7 +1024,11 @@ class ActionBlog extends Action {
*/ */
protected function CheckParentComment($oTopic, $sText, $oCommentParent) { protected function CheckParentComment($oTopic, $sText, $oCommentParent) {
$sParentId = (int)getRequest('reply'); $sParentId = 0;
if ($oCommentParent) {
$sParentId = $oCommentParent->GetCommentId();
}
$bOk = true; $bOk = true;
/** /**
* Проверям на какой коммент отвечаем * Проверям на какой коммент отвечаем