have PM link link directly to the section

This commit is contained in:
Shish
2012-03-13 15:33:58 +00:00
parent d6227ef1b3
commit 0ac7f802bb
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ class PrivMsg extends Extension {
if(!$user->is_anonymous()) {
$count = $this->count_pms($user);
$h_count = $count > 0 ? " ($count)" : "";
$event->add_link("Private Messages$h_count", make_link("user"));
$event->add_link("Private Messages$h_count", make_link("user#private-messages"));
}
}