diff options
author | Steve Clay <steve@mrclay.org> | 2012-06-15 17:33:12 -0300 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2012-06-15 17:33:12 -0300 |
commit | 5d682dcba36428f5c4af113104fdb69a8d0c8c0d (patch) | |
tree | 0c1238956451b71a2b6c1795b8fdb75f837bf5af | |
parent | fd4f7ef53452f8ccd1c53b82e6b2cc0c86788e3f (diff) | |
download | elgg-5d682dcba36428f5c4af113104fdb69a8d0c8c0d.tar.gz elgg-5d682dcba36428f5c4af113104fdb69a8d0c8c0d.tar.bz2 |
Fixes #4581: elgg_pop_breadcrumb now returns the item
-rw-r--r-- | engine/lib/navigation.php | 2 |
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; |