aboutsummaryrefslogtreecommitdiffstats
path: root/core/include
diff options
context:
space:
mode:
Diffstat (limited to 'core/include')
-rw-r--r--core/include/category/main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/category/main.php b/core/include/category/main.php
index 1f9adf7..066ea26 100644
--- a/core/include/category/main.php
+++ b/core/include/category/main.php
@@ -28,7 +28,7 @@ else {
#===============================================================================
# Throw 404 error if category (with parents) could not be found
#===============================================================================
-if(!isset($categories)) {
+if(empty($categories)) {
Application::error404();
}