merge r19419 from branch 2.4 to trunk

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



git-svn-id: http://piwigo.org/svn/trunk@19420 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2012-12-13 10:59:17 +00:00
parent 703465f7fc
commit 4a93241dd1
+1 -1
View File
@@ -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);
}