Visman 4 anni fa
parent
commit
020518edbd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Models/Pages/Topic.php

+ 1 - 1
app/Models/Pages/Topic.php

@@ -120,7 +120,7 @@ class Topic extends Page
             return $this->c->Message->message('Not Found', true, 404);
         }
 
-        if (! $posts = $topic->pageData()) {
+        if (empty($posts = $topic->pageData())) {
             return $this->go('last', $topic);
         }