aboutsummaryrefslogtreecommitdiffstats
path: root/include/picture_comment.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2009-02-04 02:41:03 +0000
committerrvelices <rv-github@modusoptimus.com>2009-02-04 02:41:03 +0000
commite8dac75c400dea48b97fe72a60cf554f0123c280 (patch)
treeba665c8016dacfe7030ab2a8826d8c16363a21ff /include/picture_comment.inc.php
parent06bccdfcc344d25aca27e59250dd93ba95929974 (diff)
- removed second parameter $type from function format_date
git-svn-id: http://piwigo.org/svn/trunk@3122 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/picture_comment.inc.php')
-rw-r--r--include/picture_comment.inc.php7
1 files changed, 2 insertions, 5 deletions
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']),
);