Update Topic page

This commit is contained in:
Visman 2021-03-27 22:48:02 +07:00
parent c74ef4c196
commit 020518edbd

View file

@ -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);
}