aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-04-25 19:47:04 +0000
committerchrisaga <chrisaga@piwigo.org>2006-04-25 19:47:04 +0000
commit79accc0355c02fcbd2e9e10a288ec1ad585cfe68 (patch)
tree352020ac7ea7af8bb56018c20aa4faf8005c20e0
parent94fd47c416c79fad3f979c55ecbc0bd8d8c75508 (diff)
- bug 350 fixed : must not use htmlentities() on category comment
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1269 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/category_subcats.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/category_subcats.inc.php b/include/category_subcats.inc.php
index 7c2f2bac0..02a2b214b 100644
--- a/include/category_subcats.inc.php
+++ b/include/category_subcats.inc.php
@@ -161,7 +161,7 @@ SELECT id, path, tn_ext
),
'NAME' => htmlentities($category['name'],ENT_QUOTES),
'CAPTION_NB_IMAGES' => (($category['nb_images'] == 0) ? '' : sprintf("%d ".l10n('pictures'), $category['nb_images'])),
- 'DESCRIPTION' => htmlentities(@$category['comment'],ENT_QUOTES),
+ 'DESCRIPTION' => @$category['comment'],ENT_QUOTES,
)
);
}