mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-13 21:31:35 +02:00
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
This commit is contained in:
@@ -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']),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user