aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_cats.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 256b9caa8..311713dac 100644
--- a/include/category_cats.inc.php
+++ b/include/category_cats.inc.php
@@ -355,7 +355,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);
}