mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 03:30:48 +03:00
Fixes #584 После редактирования комментария пропадает кнопка "Редатировать"
This commit is contained in:
parent
7a6dd314ba
commit
dd52a21a26
|
@ -1870,6 +1870,7 @@ class ActionAjax extends Action
|
|||
$oViewerLocal = $this->Viewer_GetLocalViewer();
|
||||
$oViewerLocal->Assign('oUserCurrent', $this->oUserCurrent);
|
||||
$oViewerLocal->Assign('oneComment', true, true);
|
||||
$oViewerLocal->Assign('useEdit', true, true);
|
||||
|
||||
if ($oComment->getTargetType() == 'topic') {
|
||||
$oViewerLocal->Assign('useFavourite', true, true);
|
||||
|
|
Loading…
Reference in a new issue