diff options
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r-- | classes/pref/prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 2d72a7732..8c044b49f 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -275,7 +275,7 @@ class Pref_Prefs extends Handler_Protected { } function resetconfig(): void { - Prefs::reset($_SESSION["uid"], $_SESSION["profile"]); + Prefs::reset($_SESSION["uid"], $_SESSION["profile"] ?? null); print "PREFS_NEED_RELOAD"; } |