Skip to content

Commit 7597507

Browse files
Uses correct URL in new PM message in SSI
Signed-off-by: Jon Stovell <jonstovell@gmail.com>
1 parent 791ad20 commit 7597507

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/ServerSideIncludes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ public static function welcome(string $output_method = 'echo'): ?\SMF\User
505505
echo Lang::getTxt('hello_member', file: 'General'), ' <strong>', User::$me->name, '</strong>';
506506

507507
if (User::$me->allowedTo('pm_read')) {
508-
echo ', ', Lang::getTxt('msg_alert', ['total' => User::$me->messages, 'unread' => User::$me->unread_messages], file: 'General');
508+
echo ', ', Lang::getTxt('msg_alert', ['total' => User::$me->messages, 'unread' => User::$me->unread_messages, 'url' => Config::$scripturl . '?action=pm;f=inbox'], file: 'General');
509509
}
510510
}
511511

0 commit comments

Comments
 (0)