Undefined variable when using Drupal 6.x dev
webwriter - October 2, 2008 - 18:05
| Project: | Local Menu |
| Version: | 6.x-1.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
notice: Undefined variable: menu in /var/www/sites/all/modules/local_menu/local_menu.module on line 85.
Not sure what this is or if I should be worried?

#1
There's undefined variable $menu...
Suppose it should be
<?php- $title = db_result(db_query("SELECT title FROM {menu_custom} WHERE menu_name = '%s'", $menu));
+ $title = db_result(db_query("SELECT title FROM {menu_custom} WHERE menu_name = '%s'", $link['menu_name']));
?>
#2
Works for me
#3
Where is maintainer?
#4
Fixed in CVS.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.