diff options
Diffstat (limited to 'include/ws_functions.inc.php')
-rw-r--r-- | include/ws_functions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index 853c71c2c..e48e6651d 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -715,7 +715,7 @@ SELECT id, path, tn_ext { foreach ($categories as $category) { - if ($category['id'] == $cat['id']) + if ($category['id'] == $cat['id'] and isset($category['representative_picture_id'])) { $cat['tn_url'] = $thumbnail_src_of[$category['representative_picture_id']]; } |