Minor change Models\Page
This commit is contained in:
parent
a68dcb7b45
commit
26af6811c3
1 changed files with 1 additions and 4 deletions
|
@ -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',
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue