mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-02 22:45:02 +03:00
fixed отображение описания персонального блога при создании топика
This commit is contained in:
parent
249d3056a3
commit
57c2896474
|
@ -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);
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue