فهرست منبع

Feature #2099 - Course request creation: In the notification e-mail to the platform admin the URL of the newly created request has been made precise.

Ivan Tcholakov 14 سال پیش
والد
کامیت
2164179292
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      main/inc/lib/course_request.lib.php

+ 1 - 1
main/inc/lib/course_request.lib.php

@@ -136,7 +136,7 @@ class CourseRequestManager {
         // Sending an e-mail to the platform administrator.
 
         $email_body_admin = $email_body;
-        $email_body_admin .= "\n".get_lang('CourseRequestPageForApproval', null, $email_language).' '.api_get_path(WEB_CODE_PATH).'admin/course_request_review.php'."\n";
+        $email_body_admin .= "\n".get_lang('CourseRequestPageForApproval', null, $email_language).' '.api_get_path(WEB_CODE_PATH).'admin/course_request_edit.php?id='.$last_insert_id."\n";
         $email_body_admin .= "\n".get_lang('CourseRequestLegalNote', null, $email_language)."\n";
 
         $sender_name_teacher = api_get_person_name($user_info['firstname'], $user_info['lastname'], null, PERSON_NAME_EMAIL_ADDRESS);