Browse Source

Update Topic page

Visman 4 years ago
parent
commit
020518edbd
1 changed files with 1 additions and 1 deletions
  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);
         }