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.
Comments
Comment #1
kbahey commentedCan you please submit this as a properly formatted and tested patch? Read http://drupal.org/patch for details.