On the link created on streams related to the flag module, the "'N people' liked this" link, the generated target url "/heartbeat/nojs/flagged/N" does not display the avatar. Instead it displays a link and the word "Array." The link is correct, but the display is inaccurate.

The following patch fixes this problem, but I think ultimately we would want more control over what gets displayed in this context.

NOTE
: The patch does not work correctly...sorry...please ignore it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dalinian’s picture

Okay...here's a working patch that does not muck with the heartbeat.module. Instead, I added an additional theming function to the heartbeat_plugins.module specifically for flagging.

Stalski’s picture

Status: Active » Fixed

Added your code (with some changes, including moving the l function to the theme function).
Thx for the suggestion

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

Anonymous’s picture

Issue summary: View changes

Too quick to post a solution.