PDA

View Full Version : Profile Link on Read Messages


Kyttias
12-08-2020, 06:53 PM
Profile link in private messages points to incorrect location.
Clicking on a username from a message that's being read doesn't properly link to the sender's profile. It appears that the link is formatted wrong.
Can be fixed on line 109 in classes/class_privatemessages.php. It's currently this:
<tr><td class='trow'><center><a href='../../profile.php/{$this->fromuser}' target='_blank'>{$this->fromuser}</a> sent you this PM.</center><br />{$this->getPostbar()->render()}</td></tr>It should be:
<tr><td class='trow'><center><a href='../../profile/view/{$this->fromuser}' target='_blank'>{$this->fromuser}</a> sent you this PM.</center><br />{$this->getPostbar()->render()}</td></tr>

Hall of Famer
12-08-2020, 09:47 PM
The bug has been fixed and will not be present in the stable release.