From cf2db86f67d1419b65fac7b9a1f42d5bd4340b4e Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Tue, 30 Jan 2007 13:20:53 +0100 Subject: [PATCH] [svn r11018] fix a bug when answering a thread in the lp --- main/forum/forumfunction.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main/forum/forumfunction.inc.php b/main/forum/forumfunction.inc.php index c7d3bcaf2d..8ea74b9cec 100644 --- a/main/forum/forumfunction.inc.php +++ b/main/forum/forumfunction.inc.php @@ -1713,6 +1713,7 @@ function store_reply($values) global $_user; global $_course; global $current_forum; + global $origin; $post_date=date('Y-m-d H:i:s'); if ($current_forum['approval_direct_post']=='1' AND !api_is_allowed_to_edit()) @@ -1753,8 +1754,8 @@ function store_reply($values) { $message.=get_lang('MessageHasToBeApproved').'
'; } - $message.=get_lang('ReturnTo').' '.get_lang('Forum').'
'; - $message.=get_lang('ReturnTo').' '.get_lang('Message').''; + $message.=get_lang('ReturnTo').' '.get_lang('Forum').'
'; + $message.=get_lang('ReturnTo').' '.get_lang('Message').''; send_notification_mails($values['thread_id'], $values);