mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-17 07:10:48 +03:00
Fix
This commit is contained in:
parent
998276e4a3
commit
51cc4dda21
|
@ -787,7 +787,7 @@ class ActionBlog extends Action {
|
|||
/**
|
||||
* Возможность постить коммент в топик в черновиках
|
||||
*/
|
||||
if (!$oTopic->getPublish() and $this->oUserCurrent!=$oTopic->getUserId() and !$this->oUserCurrent->isAdministrator()) {
|
||||
if (!$oTopic->getPublish() and $this->oUserCurrent->getId()!=$oTopic->getUserId() and !$this->oUserCurrent->isAdministrator()) {
|
||||
$this->Message_AddErrorSingle($this->Lang_Get('system_error'),$this->Lang_Get('error'));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue