Merge pull request #2722 from marc1706/ticket/12695

[ticket/12695] Add viewtopic language file for parse_attachments in mcp_...

* marc1706/ticket/12695:
  [ticket/12695] Add viewtopic language file for parse_attachments in mcp_post
This commit is contained in:
Tristan Darricau 2014-07-10 15:25:00 +02:00
commit 3a11fec5de

View file

@ -157,6 +157,7 @@ function mcp_post_details($id, $mode, $action)
if (sizeof($attachments)) if (sizeof($attachments))
{ {
$user->add_lang('viewtopic');
$update_count = array(); $update_count = array();
parse_attachments($post_info['forum_id'], $message, $attachments, $update_count); parse_attachments($post_info['forum_id'], $message, $attachments, $update_count);
} }