Mercurial > defr > drupal > core
diff modules/comment/comment.module @ 11:589fb7c02327 6.5
Drupal 6.5
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:32:19 +0100 |
parents | fff6d4c8c043 |
children | 3edae6ecd6c6 |
line wrap: on
line diff
--- a/modules/comment/comment.module Tue Dec 23 14:32:08 2008 +0100 +++ b/modules/comment/comment.module Tue Dec 23 14:32:19 2008 +0100 @@ -1,5 +1,5 @@ <?php -// $Id: comment.module,v 1.617.2.2 2008/04/25 20:58:46 goba Exp $ +// $Id: comment.module,v 1.617.2.3 2008/09/17 06:22:38 goba Exp $ /** * @file @@ -753,7 +753,9 @@ } } - $edit['timestamp'] = time(); + if (empty($edit['timestamp'])) { + $edit['timestamp'] = time(); + } if ($edit['uid'] === $user->uid) { // '===' because we want to modify anonymous users too $edit['name'] = $user->name;