-
Bug
-
Resolution: Fixed
-
3.0.6
-
None
-
PHP Environment:
Database:
Hello,
The feed.php code does not check if the poster was anonymous before it will build the link to profile.
Fix could look like replace :
$user_link = '<a href="' . feed_append_sid('/memberlist.' . $phpEx, 'mode=viewprofile&u=' . $row['user_id']) . '">' . $row['username'] . '</a>';
|
with :
$user_link = $row['user_id'] != ANONYMOUS ? '<a href="' . feed_append_sid('/memberlist.' . $phpEx, 'mode=viewprofile&u=' . $row['user_id']) . '">' . $row['username'] . '</a>' : $row['username'];
|
and so on for the other prfile links.
Regards,
dcz