aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/category_default.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php
index c7069ae9e..73ad7af37 100644
--- a/include/category_default.inc.php
+++ b/include/category_default.inc.php
@@ -99,7 +99,7 @@ while ($row = mysql_fetch_array($result))
// message in title for the thumbnail
$thumbnail_title = $row['file'];
- if ($row['filesize'] == '')
+ if (!isset($row['filesize']) or $row['filesize'] == '')
{
$filesize = floor(filesize($cat_directory.$row['file']) / 1024);
}