diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 18:36:03 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 18:36:03 +0000 |
commit | 134af4b37e89a0b82850de9f17a59ab076fd816e (patch) | |
tree | 3160ed4277b0533f7b8cef661c894efa1d882624 | |
parent | f19ec24569d0d8e8945393b6dce1a3802ad82174 (diff) | |
download | elgg-134af4b37e89a0b82850de9f17a59ab076fd816e.tar.gz elgg-134af4b37e89a0b82850de9f17a59ab076fd816e.tar.bz2 |
Fixed submenu tab contexts
git-svn-id: https://code.elgg.org/elgg/trunk@1381 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/elgglib.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index a3ef66928..7cd11bc04 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -511,8 +511,8 @@ if ($submenu_register = get_register('submenu')) {
foreach($submenu_register as $item) {
-
- if (substr_count($_SERVER['REQUEST_URI'], $item->value)) {
+
+ if (substr_count($item->value, $_SERVER['REQUEST_URI'])) {
$selected = true;
} else {
$selected = false;
|