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

fixed отображение описания персонального блога при создании топика

This commit is contained in:
Pavel Frankov 2013-06-13 07:55:33 +07:00
parent 249d3056a3
commit 57c2896474

View file

@ -1808,6 +1808,13 @@ class ActionBlog extends Action {
*/
if ($oBlog) {
$sText=$oBlog->getDescription();
/**
* если блог персональный возвращаем текущий языковой эквивалент
*/
if ($sBlogId==0) {
$sText = $this->Lang_Get('blogs_personal_description');
}
$this->Viewer_AssignAjax('sText',$sText);
}
}
@ -1940,4 +1947,4 @@ class ActionBlog extends Action {
$this->Viewer_Assign('BLOG_USER_ROLE_BAN', ModuleBlog::BLOG_USER_ROLE_BAN);
}
}
?>
?>