adding date created and date modified for comments

This commit is contained in:
toyomoyo
2006-02-27 02:06:35 +00:00
parent e03f2fec99
commit 8e24bfe7e8
7 changed files with 21 additions and 3 deletions
+2 -1
View File
@@ -345,7 +345,8 @@ function data_comments_restore_mods ($oldid, $newid, $info, $rec_info) {
$comment -> recordid = $newid;
$comment -> userid = backup_todb($com_info['#']['USERID']['0']['#']);
$comment -> content = backup_todb($com_info['#']['CONTENT']['0']['#']);
$comment -> created = backup_todb($com_info['#']['CREATED']['0']['#']);
$comment -> modified = backup_todb($com_info['#']['MODIFIED']['0']['#']);
$status = insert_record ("data_comments",$comment);
}