This is very straightforward, so I marked this RTB.
In favorite_nodes_user()
$favorites = favorite_nodes_get($uid, $type->type, variable_get(FAVORITE_NODES_BLOCK_LIMIT, 5));
needs to be
$favorites = favorite_nodes_get($uid, $type->type, variable_get(FAVORITE_NODES_PAGE_LIMIT, 5));
Otherwise, it will display favorites on the user page as it is configured in the block.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | favorite_nodes.block_.patch | 902 bytes | rares |
Comments
Comment #1
rares commentedHere is a patch and a better name
Comment #2
kbahey commented