Download & Extend

Undefined variable when using Drupal 6.x dev

Project:Local Menu
Version:6.x-1.5
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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?

Comments

#1

Status:active» needs review

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']));
?>
AttachmentSize
local_menu.txt 592 bytes

#2

Status:needs review» reviewed & tested by the community

Works for me

#3

Where is maintainer?

#4

Status:reviewed & tested by the community» fixed

Fixed in CVS.

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here