aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-11 02:15:22 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-11 02:15:22 +0000
commit239691e4507756985f6d54c002df7d8772e790c4 (patch)
tree800cfc4943265011f6cfe37a8af7410a5da96c84 /engine/lib/elgglib.php
parent45d1a0ec7c96297f204744a5ca8e340c08ba8ea9 (diff)
downloadelgg-239691e4507756985f6d54c002df7d8772e790c4.tar.gz
elgg-239691e4507756985f6d54c002df7d8772e790c4.tar.bz2
Fix admin area for overview and appearance.
git-svn-id: http://code.elgg.org/elgg/trunk@5997 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-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 8d41de1cc..9ee85c559 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -1139,7 +1139,7 @@ function elgg_get_submenu($context = NULL, $sort = FALSE) {
while ($item = current($items)) {
$t = '';
// ignore parents created by a child but parent never defined properly
- if (!isset($item->text) || !isset($item->href) || !($item->text) || !($item->href)) {
+ if (!isset($item->text) || !($item->text)) {
next($items);
continue;
}