aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/navigation.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-06-15 17:33:12 -0300
committerSteve Clay <steve@mrclay.org>2012-06-15 17:33:12 -0300
commit5d682dcba36428f5c4af113104fdb69a8d0c8c0d (patch)
tree0c1238956451b71a2b6c1795b8fdb75f837bf5af /engine/lib/navigation.php
parentfd4f7ef53452f8ccd1c53b82e6b2cc0c86788e3f (diff)
downloadelgg-5d682dcba36428f5c4af113104fdb69a8d0c8c0d.tar.gz
elgg-5d682dcba36428f5c4af113104fdb69a8d0c8c0d.tar.bz2
Fixes #4581: elgg_pop_breadcrumb now returns the item
Diffstat (limited to 'engine/lib/navigation.php')
-rw-r--r--engine/lib/navigation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/navigation.php b/engine/lib/navigation.php
index a7984ce5a..4ff009bfb 100644
--- a/engine/lib/navigation.php
+++ b/engine/lib/navigation.php
@@ -230,7 +230,7 @@ function elgg_pop_breadcrumb() {
global $CONFIG;
if (is_array($CONFIG->breadcrumbs)) {
- array_pop($CONFIG->breadcrumbs);
+ return array_pop($CONFIG->breadcrumbs);
}
return FALSE;