From bfe6570cb007511d727f81fcb0a985bf2d0665d4 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Thu, 21 May 2015 04:26:12 -0400 Subject: [PATCH] Fix issues when using moduserprefs.sh without --user argument (#1490399) --- bin/moduserprefs.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/moduserprefs.sh b/bin/moduserprefs.sh index 9bbc885..023c54a 100755 --- a/bin/moduserprefs.sh +++ b/bin/moduserprefs.sh @@ -71,7 +71,7 @@ $prefs[$pref_name] = $pref_value; if ($prefs != $old_prefs) { - $user->save_prefs($prefs); + $user->save_prefs($prefs, true); echo "saved.\n"; } else { -- Gitblit v1.9.1