Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Post a reply and do a preview are basically the same thing
Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Jun 14, 2014
1 parent 4598bc2 commit 395acd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/controllers/Post.controller.php
Expand Up @@ -791,7 +791,7 @@ public function action_post()
elseif (isset($_REQUEST['msg']))
$context['page_title'] = $txt['modify_msg'];
elseif (isset($_REQUEST['subject'], $context['preview_subject']))
$context['page_title'] = $txt['preview'] . ' - ' . strip_tags($context['preview_subject']);
$context['page_title'] = $txt['post_reply'];
elseif (empty($topic))
$context['page_title'] = $txt['start_new_topic'];
else
Expand Down Expand Up @@ -2336,4 +2336,4 @@ private function _prepareDraftsContext($member_id, $id_topic = false)
);
}
}
}
}

0 comments on commit 395acd6

Please sign in to comment.