Changeset 19419


Ignore:
Timestamp:
12/13/12 11:58:33 (6 years ago)
Author:
plg
Message:

bug 2806 fixed: only use the day to compare from and to, and not the time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/include/category_cats.inc.php

    r12930 r19419  
    355355          $info = ''; 
    356356 
    357           if ($from == $to) 
     357          if (date('Y-m-d', strtotime($from)) == date('Y-m-d', strtotime($to))) 
    358358          { 
    359359            $info = format_date($from); 
Note: See TracChangeset for help on using the changeset viewer.