Closed (fixed)
Project:
JQuery menu
Version:
6.x-3.3
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2010 at 01:10 UTC
Updated:
15 Mar 2012 at 04:12 UTC
Hi there,
Thanks for a great module.
I updated to the latest version of devel today and found a warning for your module.
notice: Undefined variable: output in recursive_link_creator() (line 286 of /vpfa-dev/hr_drupal6_template/sites/all/modules/jquerymenu/jquerymenu.module). =>
I asked about it in devel issues and found out that
"notice: Undefined variable" used to be ignored, but it's good practice to always give your variables a value before referencing them; these notices often point to bugs, and that's why we're not suppressing them anymore.
Comments
Comment #1
_vid commentedI've got a site to roll out but I'll multi-task and try to look into submitting a patch.
In the interim, I gather from the error msg. that the function recursive_link_creator function is missing
$output = '';So that could be inserted on line 205 in
function recursive_link_creator($items = array(), $trail) {
$output = '';
On my PC winmerge generates this output for a patch:
Comment #2
pat redmond commentedWill be fixed in the upcoming release