From 005d0078cbed3fb0a3f366c5a62fc72667feb759 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 14 Mar 2005 07:31:47 +0000 Subject: [PATCH] New courses are logged to the site log --- course/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/edit.php b/course/edit.php index 7545924a626..37771c940b9 100644 --- a/course/edit.php +++ b/course/edit.php @@ -103,7 +103,7 @@ $section->id = insert_record("course_sections", $section); fix_course_sortorder(); - add_to_log($newcourseid, "course", "new", "view.php?id=$newcourseid", ""); + add_to_log(SITEID, "course", "new", "view.php?id=$newcourseid", "$form->fullname (ID $newcourseid)"); if (isadmin()) { // Redirect admin to add teachers redirect("teacher.php?id=$newcourseid", get_string("changessaved"));