bad class "0"

mjourney2 - December 4, 2008 - 22:13
Project:Favorite Nodes
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

line 294 and below instead of links[] it should be something like:

$links['add_to_favorites'] = ...

$links['in_favorites'] = ...

$links['remove_from_favorites'] = ...

Otherwise the link is displayed with an invalid class "0"

With this change the class becomes class="add_to_favorites" etc.

#1

kbahey - December 4, 2008 - 22:24

Can you please submit this as a properly formatted and tested patch? Read http://drupal.org/patch for details.

 
 

Drupal is a registered trademark of Dries Buytaert.