Small fix to previous commit - refs #5970

1.9.x
Yannick Warnier 12 years ago
parent b2c39ef6a6
commit bd1a1111f0
  1. 3
      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();
}
}

Loading…
Cancel
Save