mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-03 06:55:03 +03:00
Merge pull request #290 from pfrankov/patch-1
fixed отображение описания персонального блога при создании топика
This commit is contained in:
commit
18ad3d087a
|
@ -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