diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php index c8b728e5a..28866b507 100644 --- a/include/category_cats.inc.php +++ b/include/category_cats.inc.php @@ -354,7 +354,7 @@ if (count($categories) > 0) { $info = ''; - if ($from == $to) + if (date('Y-m-d', strtotime($from)) == date('Y-m-d', strtotime($to))) { $info = format_date($from); }