aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-15 14:58:25 -0700
committerCash Costello <cash.costello@gmail.com>2012-06-15 14:58:25 -0700
commit957137ea2702924401ef1f4f63e7b603b0703d10 (patch)
tree0c1238956451b71a2b6c1795b8fdb75f837bf5af /engine/lib
parentfd4f7ef53452f8ccd1c53b82e6b2cc0c86788e3f (diff)
parent5d682dcba36428f5c4af113104fdb69a8d0c8c0d (diff)
downloadelgg-957137ea2702924401ef1f4f63e7b603b0703d10.tar.gz
elgg-957137ea2702924401ef1f4f63e7b603b0703d10.tar.bz2
Merge pull request #273 from mrclay/patch-8
Fixes #4581: elgg_pop_breadcrumb now returns the item
Diffstat (limited to 'engine/lib')
-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;