Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use language string for "changes saved"

  • Loading branch information...
commit a8b7b661588f2b1dcdef746d45c0f26a1b2b6acc 1 parent 2893d91
moodler authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 user/edit.php
View
4 user/edit.php
@@ -90,9 +90,9 @@
$USER->$variable = $value;
}
save_session("USER");
- redirect("view.php?id=$user->id&course=$course->id", "Changes saved");
+ redirect("view.php?id=$user->id&course=$course->id", get_string("changessaved"));
} else {
- redirect("../admin/user.php", "Changes saved");
+ redirect("../admin/user.php", get_string("changessaved"));
}
} else {
error("Could not update the user record ($user->id)");
Please sign in to comment.
Something went wrong with that request. Please try again.