Browse Source

Minor change Models\Page

Visman 4 years ago
parent
commit
26af6811c3
1 changed files with 1 additions and 4 deletions
  1. 1 4
      app/Models/Page.php

+ 1 - 4
app/Models/Page.php

@@ -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',
                 ];
             }