diff --git a/app/controllers/ForumController.php b/app/controllers/ForumController.php index 89cb240..b6793e3 100755 --- a/app/controllers/ForumController.php +++ b/app/controllers/ForumController.php @@ -132,7 +132,6 @@ class ForumController extends ApplicationController public function show() { $this->forum_post = ForumPost::find($this->params()->id); - $this->set_title($this->forum_post->title); $this->children = ForumPost::where("parent_id = ?", $this->params()->id)->order("id")->paginate($this->page_number(), 30); if (!$this->current_user->is_anonymous() && $this->current_user->last_forum_topic_read_at < $this->forum_post->updated_at && $this->forum_post->updated_at < (time() - 3)) { diff --git a/app/views/forum/show.php b/app/views/forum/show.php index b57bf04..944294d 100755 --- a/app/views/forum/show.php +++ b/app/views/forum/show.php @@ -1,3 +1,4 @@ +provide('title', $this->forum_post->title) ?> forum_post->is_locked) : ?>

t('.locked') ?>