From 9ff7ab03a8ec8c012fbfadff281901fc2881deb9 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Tue, 8 Jul 2014 19:00:47 +0000 Subject: feature:2807 better fix for svn:28995 git-svn-id: http://piwigo.org/svn/trunk@29008 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions.inc.php') diff --git a/include/functions.inc.php b/include/functions.inc.php index cc6dae20c..52c4d418f 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -609,7 +609,7 @@ function format_date($original, $show=null, $format=null) return l10n('N/A'); } - if ($show === null) + if ($show === null || $show === true) { $show = array('day_name', 'day', 'month', 'year'); } -- cgit v1.2.3