From 526234384cd025a55fbbd89e8f75e61985a1da60 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 21 Feb 2004 01:24:07 +0000 Subject: [PATCH] Modified the log of the "change password" action to encode the userid in the info field, instead of the courseid. To be consistent with another user actions (view...). I suppose that this is the propper way. --- login/change_password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login/change_password.php b/login/change_password.php index 0089ea16d1..b31e8b4b85 100644 --- a/login/change_password.php +++ b/login/change_password.php @@ -45,7 +45,7 @@ $strpasswordchanged = get_string("passwordchanged"); if ($course->id) { - add_to_log($course->id, "user", "change password", "view.php?id=$user->id&course=$course->id", "$course->id"); + add_to_log($course->id, "user", "change password", "view.php?id=$user->id&course=$course->id", "$user->id"); $fullname = fullname($USER, true); print_header($strpasswordchanged, $strpasswordchanged, "wwwroot/course/view.php?id=$course->id\">$course->shortname -> -- 2.39.5