From: kink Date: Wed, 25 Sep 2002 13:52:57 +0000 (+0000) Subject: Fix missing $username when rg=0 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b9533c3d40190525803a05ad573329cc0402631f;p=squirrelmail.git Fix missing $username when rg=0 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3723 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/include/load_prefs.php b/include/load_prefs.php index afc711a5..e96d042b 100644 --- a/include/load_prefs.php +++ b/include/load_prefs.php @@ -18,7 +18,7 @@ require_once(SM_PATH . 'functions/prefs.php'); require_once(SM_PATH . 'functions/plugin.php'); require_once(SM_PATH . 'functions/constants.php'); -$username = ( !isset($username) ? '' : $username ); +$username = ( !isset($_SESSION['username']) ? '' : $_SESSION['username'] ); $custom_css = getPref($data_dir, $username, 'custom_css', 'none' ); diff --git a/include/options/index.php b/include/options/index.php new file mode 100644 index 00000000..7e4fc5ca --- /dev/null +++ b/include/options/index.php @@ -0,0 +1,3 @@ +