Bläddra i källkod

Small fix to previous commit - refs #5970

Yannick Warnier 11 år sedan
förälder
incheckning
bd1a1111f0
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      main/work/work.php

+ 2 - 1
main/work/work.php

@@ -716,6 +716,7 @@ switch ($action) {
                     $emailbody .= get_lang('DateSent')." : ".api_format_date(api_get_local_time())."\n";
                     $emailbody .= get_lang('WorkName')." : ".$title."\n\n".get_lang('DownloadLink')."\n";
                     $url = api_get_path(WEB_CODE_PATH)."work/work.php?".api_get_cidreq()."&id=".$work_id;
+                    $emailbody .= $url;
                     
                     MessageManager::send_message_simple($to_user_id, $emailsubject, $emailbody);
                 }
@@ -1186,4 +1187,4 @@ if (isset($work_id) && !empty($work_id) && !$display_list_users_without_publicat
 if ($origin != 'learnpath') {
     //we are not in the learning path tool
     Display :: display_footer();
-}
+}