Closed (fixed)
Project:
Favorite Nodes
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2008 at 00:28 UTC
Updated:
24 Apr 2008 at 00:54 UTC
In line 52 of the module an overflow link is being generated if more than the max specified number of a particular type's favorite are listed
$block['content'] .= l(t('More Favorite %types', array('%types' => variable_get(FAVORITE_NODES_BLOCK . $type->type, $type->name))), "favorite_nodes/v iew/$user->uid/$type->type");
The %tag notation in the l function inserts <em> HTML markup, so it should be replaced with !tag notation like
$block['content'] .= l(t('More Favorite !types', array('!types' => variable_get(FAVORITE_NODES_BLOCK . $type->type, $type->name))), "favorite_nodes/v iew/$user->uid/$type->type");
Comments
Comment #1
kbahey commentedThank you.
Fixed in -dev version.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.