aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-17 21:02:01 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-17 21:02:01 +0000
commit498962634cb290b2b51edb147790af6ccb036d36 (patch)
tree2a44ab8c5410c7467131949754b45eca93ea6426 /engine/lib
parented11f89fd2ddda1037c220b4d93476c9036bbca2 (diff)
downloadelgg-498962634cb290b2b51edb147790af6ccb036d36.tar.gz
elgg-498962634cb290b2b51edb147790af6ccb036d36.tar.bz2
Fixed the submenu
git-svn-id: https://code.elgg.org/elgg/trunk@1995 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 1c80c03a3..9fc3e65f2 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -576,6 +576,7 @@
if ($preselected === false) {
if (substr_count($item->value, $_SERVER['REQUEST_URI'])) {
+ $preselected = $key;
$selected = true;
} else {
$selected = false;