1
0
Fork 0
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:
Denis Shakhov 2014-12-30 21:05:16 +07:00
parent 7a6dd314ba
commit dd52a21a26

View file

@ -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);