| 1 |
Index: modules/comment.module
|
| 2 |
===================================================================
|
| 3 |
RCS file: /cvs/drupal/drupal/modules/comment.module,v
|
| 4 |
retrieving revision 1.347.2.2
|
| 5 |
diff -u -F^f -r1.347.2.2 comment.module
|
| 6 |
--- modules/comment.module 8 Apr 2005 13:35:27 -0000 1.347.2.2
|
| 7 |
+++ modules/comment.module 17 Apr 2005 18:06:03 -0000
|
| 8 |
@@ -629,7 +629,9 @@ function comment_post($edit) {
|
| 9 |
|
| 10 |
|
| 11 |
$edit['cid'] = db_next_id('{comments}_cid');
|
| 12 |
- $edit['timestamp'] = time();
|
| 13 |
+ if (!$edit['timestamp']) {
|
| 14 |
+ $edit['timestamp'] = time();
|
| 15 |
+ }
|
| 16 |
|
| 17 |
if ($edit['uid'] = $user->uid) {
|
| 18 |
$edit['name'] = $user->name;
|
| 19 |
@@ -657,7 +659,7 @@ function comment_post($edit) {
|
| 20 |
drupal_goto('node/'. $edit['nid']);
|
| 21 |
}
|
| 22 |
else {
|
| 23 |
- drupal_goto('node/'. $edit['nid'] .'#comment-'. $edit['cid']);
|
| 24 |
+ // drupal_goto('node/'. $edit['nid'] .'#comment-'. $edit['cid']);
|
| 25 |
}
|
| 26 |
}
|
| 27 |
else {
|