Explorar o código

Update PM\PMPost page

Visman %!s(int64=4) %!d(string=hai) anos
pai
achega
427f2c6587
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Models/Pages/PM/PMPost.php

+ 1 - 1
app/Models/Pages/PM/PMPost.php

@@ -69,7 +69,7 @@ class PMPost extends AbstractPM
             $this->targetUser = $topic->ztUser;
             $this->targetUser = $topic->ztUser;
             $this->pms->area  = $this->pms->inArea($topic);
             $this->pms->area  = $this->pms->inArea($topic);
             $this->newTopic   = false;
             $this->newTopic   = false;
-            $this->formTitle  = 'New PM title';
+            $this->formTitle  = Cnst::ACTION_ARCHIVE === $this->pms->area ? 'New PM title archive' : 'New PM title';
             $this->pmCrumbs[] = [
             $this->pmCrumbs[] = [
                 $this->c->Router->link('PMAction', $args),
                 $this->c->Router->link('PMAction', $args),
                 __('New message'),
                 __('New message'),