mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
bug 2806 fixed: only use the day to compare from and to, and not the time.
git-svn-id: http://piwigo.org/svn/branches/2.4@19419 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user