Skip to content
Snippets Groups Projects
Commit 157b7fb1 authored by Sebastian Paul's avatar Sebastian Paul
Browse files

fix untiy_webapp_walk

parent c299d567
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
*/ */
function unity_webapp_menu_walk($tree) { function unity_webapp_menu_walk($tree) {
$processedlink = array(); $processedlink = array();
foreach ($object as $obj) { foreach ($tree as $obj) {
if ($obj['link'] && $obj['link']['link_title']) { if ($obj['link'] && $obj['link']['link_title']) {
$processedlink['name'] = $obj['link']['link_title']; $processedlink['name'] = $obj['link']['link_title'];
$processedlink['href'] = $obj['link']['href']; $processedlink['href'] = $obj['link']['href'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment