36degrees
Member
- Affected version
- v2.2.2
The link to the edited media included in the alert
For example, if I was in a forum
Comparing the templates for
Wrapping
alert_user_xfmg_media_edit
is relative (does not start with /
) so it only works when visited from the homepage.For example, if I was in a forum
/forums/my-forum.1/
, clicking the alert takes me to /forums/main-forum.2/gallery/my-photo.7/
instead of /gallery/my-photo.7/
.Comparing the templates for
alert_user_xfmg_media_move
, alert_user_xfmg_media_delete
and alert_user_xfmg_media_delete
, only alert_user_xfmg_media_move
wraps $extra.link
with a call to base_url
– I suspect the delete notification is also affected by this same bug, but have not verified this.Wrapping
$extra.link
with a call to base_url
seems to fix the issue.