From c7a03b7a535a0c49ff1c77e8b62171b080742238 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 21 Nov 2005 05:23:36 +0100 Subject: fix prefs_init for single user mode --- functions.php | 1 + 1 file changed, 1 insertion(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 16b5dac67..b047221ef 100644 --- a/functions.php +++ b/functions.php @@ -685,6 +685,7 @@ } else { $_SESSION["uid"] = 1; $_SESSION["name"] = "admin"; + initialize_user_prefs($link, 1); } } ?> -- cgit v1.2.3