From 52281b5f44f000ea3b10c32a7039a32669d0b47b Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 4 Feb 2009 02:42:17 +0000 Subject: merge r3122 from trunk - removed second parameter $type from function format_date git-svn-id: http://piwigo.org/svn/branches/2.0@3123 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/picture_comment.inc.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'include/picture_comment.inc.php') diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php index 6c0ece4be..eb2cd710b 100644 --- a/include/picture_comment.inc.php +++ b/include/picture_comment.inc.php @@ -130,17 +130,14 @@ SELECT id,author,date,image_id,content while ($row = mysql_fetch_array($result)) { - $tpl_comment = + $tpl_comment = array( 'AUTHOR' => trigger_event('render_comment_author', empty($row['author']) ? l10n('guest') : $row['author']), - 'DATE' => format_date( - $row['date'], - 'mysql_datetime', - true), + 'DATE' => format_date( $row['date'], true), 'CONTENT' => trigger_event('render_comment_content',$row['content']), ); -- cgit v1.2.3