aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 17:50:52 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 17:50:52 +0000
commitd238ef94c66d487fef38fee8d5243f1d15d39978 (patch)
tree547df6a3a695b60a4f1695ece2575d128f5f12c5
parent7b18e6bbbd30743a6227bded9be0c17ddc156d6a (diff)
downloadelgg-d238ef94c66d487fef38fee8d5243f1d15d39978.tar.gz
elgg-d238ef94c66d487fef38fee8d5243f1d15d39978.tar.bz2
Fixed minor profile tab issue
git-svn-id: https://code.elgg.org/elgg/trunk@1374 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
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;