mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 11:36:20 +05:30
Fix problems with offline writing
This commit is contained in:
parent
508e05287e
commit
b9b8a4e114
2 changed files with 54 additions and 42 deletions
|
|
@ -1830,7 +1830,7 @@ get('/admin/categories/:category', function ($category) {
|
|||
$desc = $desc[0];
|
||||
}
|
||||
|
||||
if (empty($posts) || $page < 1) {
|
||||
if (empty($desc)) {
|
||||
// a non-existing page
|
||||
not_found();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue