Minor change Models\Page

This commit is contained in:
Visman 2021-03-31 18:03:05 +07:00
parent a68dcb7b45
commit 26af6811c3

View file

@ -214,10 +214,7 @@ abstract class Page extends Model
if ($this->user->usePM) {
$navUser[self::FI_PM] = [
$r->link('PM'),
$this->user->u_pm_num_new > 0
? ['PM %s', $this->user->u_pm_num_new]
: 'PM'
,
$this->user->u_pm_num_new > 0 ? ['PM %s', $this->user->u_pm_num_new] : 'PM',
'Private messages',
];
}