fix prefs reset not working properly

This commit is contained in:
Andrew Dolgov
2013-04-05 07:52:50 +04:00
parent 1e2ce2905e
commit bf87833884
2 changed files with 4 additions and 7 deletions

View File

@@ -180,6 +180,8 @@ class Pref_Prefs extends Handler_Protected {
WHERE $profile_qpart AND owner_uid = ".$_SESSION["uid"]);
initialize_user_prefs($this->link, $_SESSION["uid"], $_SESSION["profile"]);
echo __("Your preferences are now set to default values.");
}
function index() {