From 37ef82183c1b1a5c17ab86ea0a71dafd52612d42 Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 14 Jun 2006 00:54:28 +0000 Subject: bug 389: font tag allowed in category html description for subcatify git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1353 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_recent_cats.inc.php | 2 +- include/category_subcats.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/category_recent_cats.inc.php b/include/category_recent_cats.inc.php index b9aebcf2c..2663bbcb3 100644 --- a/include/category_recent_cats.inc.php +++ b/include/category_recent_cats.inc.php @@ -78,7 +78,7 @@ if ($conf['subcatify']) $comment = null; if (isset($row['comment'])) { - $comment = strip_tags($row['comment'], '

'); + $comment = strip_tags($row['comment'], '

'); } // for each category, we have to search a recent picture to display and diff --git a/include/category_subcats.inc.php b/include/category_subcats.inc.php index 60a7c4225..aefe8e392 100644 --- a/include/category_subcats.inc.php +++ b/include/category_subcats.inc.php @@ -94,7 +94,7 @@ SELECT representative_picture_id $comment = null; if (isset($row['comment'])) { - $comment = strip_tags($row['comment'], '

'); + $comment = strip_tags($row['comment'], '

'); } if (isset($image_id)) -- cgit v1.2.3