diff options
| author | Cash Costello <cash.costello@gmail.com> | 2012-06-15 14:58:25 -0700 |
|---|---|---|
| committer | Cash Costello <cash.costello@gmail.com> | 2012-06-15 14:58:25 -0700 |
| commit | 957137ea2702924401ef1f4f63e7b603b0703d10 (patch) | |
| tree | 0c1238956451b71a2b6c1795b8fdb75f837bf5af | |
| parent | fd4f7ef53452f8ccd1c53b82e6b2cc0c86788e3f (diff) | |
| parent | 5d682dcba36428f5c4af113104fdb69a8d0c8c0d (diff) | |
| download | elgg-957137ea2702924401ef1f4f63e7b603b0703d10.tar.gz elgg-957137ea2702924401ef1f4f63e7b603b0703d10.tar.bz2 | |
Merge pull request #273 from mrclay/patch-8
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; |
