aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/category_cats.inc.php2
1 files changed, 1 insertions, 1 deletions
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);
}