From d238ef94c66d487fef38fee8d5243f1d15d39978 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 9 Jul 2008 17:50:52 +0000 Subject: Fixed minor profile tab issue git-svn-id: https://code.elgg.org/elgg/trunk@1374 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index d0ecc8bf4..a3ef66928 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -512,7 +512,7 @@ if ($submenu_register = get_register('submenu')) { foreach($submenu_register as $item) { - if (substr_count($item->value, $item->value)) { + if (substr_count($_SERVER['REQUEST_URI'], $item->value)) { $selected = true; } else { $selected = false; -- cgit v1.2.3