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.
This commit is contained in:
stronk7 2004-02-21 01:24:07 +00:00
parent 27f2c52057
commit 526234384c

View File

@ -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,
"<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> ->