diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-01 18:06:45 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-01 18:06:45 +0000 |
commit | 68fb99c50452ad6840ae524dd1ad714d0a26119d (patch) | |
tree | c99ffd4440f7b51d432e2fd2bc3b8d42c13d0b9d /engine | |
parent | c16cebf3faf325d9a4ca8c7b5ef66055a2b9bcbf (diff) | |
download | elgg-68fb99c50452ad6840ae524dd1ad714d0a26119d.tar.gz elgg-68fb99c50452ad6840ae524dd1ad714d0a26119d.tar.bz2 |
Fixed erroneous friends link issue
git-svn-id: https://code.elgg.org/elgg/trunk@1661 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/users.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index 9e3270aa7..bbfaa4a1f 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1116,6 +1116,9 @@ */
function users_init() {
+ // Load config
+ global $CONFIG;
+
// Set up menu for logged in users
if (isloggedin())
add_menu(elgg_echo('friends'), $CONFIG->wwwroot . "pg/friends/" . $_SESSION['user']->username);
|