Download & Extend

Fix a few notices spritemenu_menu_link_alter()

Project:Sprite Graphic Menu
Version:6.x-1.1
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

I get several notices every time I run update.php or enable a module via Drush. This patch fixes two annoying notices that flood my log whenever I clear my caches.

    * Notice: Undefined index: attributes in spritemenu_menu_link_alter() (line 295 of /Users/nate/public_html/sites/all/modules/contrib/spritemenu/spritemenu.module).
    * Notice: Undefined variable: class in spritemenu_menu_link_alter() (line 309 of /Users/nate/Sites/public_html/sites/all/modules/contrib/spritemenu/spritemenu.module).
AttachmentSize
spritemenu_notices.patch1.01 KB

Comments

#1

Status:needs review» reviewed & tested by the community

works well on me, thanks from that patch.
think this also comes from use of php 5.3.

nobody click here