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).
CommentFileSizeAuthor
spritemenu_notices.patch1.01 KBquicksketch

Comments

exlin’s picture

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.

quicksketch’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 6.x-1.x branch.

Status: Fixed » Closed (fixed)

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