diff options
Diffstat (limited to 'include/category_subcats.inc.php')
-rw-r--r-- | include/category_subcats.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/category_subcats.inc.php b/include/category_subcats.inc.php index 3e31ecc80..1fc6b2ac4 100644 --- a/include/category_subcats.inc.php +++ b/include/category_subcats.inc.php @@ -160,7 +160,7 @@ SELECT id, path, tn_ext ) ), 'NAME' => $category['name'], - 'NB_IMAGES' => $category['nb_images'], + 'CAPTION_NB_IMAGES' => (($category['nb_images'] == 0) ? '' : sprintf("%d ".l10n('pictures'), $category['nb_images'])), 'DESCRIPTION' => @$category['comment'], ) ); |