From 97a0aa7e4cb8b8aef2bc0e883ea7c676f3473fbb Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 18 Apr 2015 10:30:08 +0100 Subject: [PATCH] give unread PM count a class, so custom themes can make it red if they wish --- ext/pm/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pm/main.php b/ext/pm/main.php index e07d44a4..4c002444 100644 --- a/ext/pm/main.php +++ b/ext/pm/main.php @@ -85,7 +85,7 @@ class PrivMsg extends Extension { global $user; if(!$user->is_anonymous()) { $count = $this->count_pms($user); - $h_count = $count > 0 ? " ($count)" : ""; + $h_count = $count > 0 ? " ($count)" : ""; $event->add_link("Private Messages$h_count", make_link("user#private-messages")); } }