Closed (fixed)
Project:
Piwik Web Analytics
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2012 at 16:54 UTC
Updated:
21 Jun 2014 at 14:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
marcusx commentedPatch...
Remove empty item from menu system before using drupal_json_encode, also set title using drupal_set_title if there is no title in menu_router table.
Comment #2
hass commentedThanks for report. Why are we not changing function _piwik_get_hierarchy_titles() ? We should write tests.
Comment #3
hass commentedI do not understand the reason for this, but added the array_filter() as I was able to reproduce the bug with a view. The filtering of empty titles has fixed all issues for me.
Comment #4
hass commentedhttp://drupalcode.org/project/piwik.git/commit/25f5751
http://drupalcode.org/project/piwik.git/commit/7e255d8