Changeset 3148:54da6965988e
Legend:
- Unmodified
- Added
- Removed
-
plugins/importExport/inc/flat/class.flat.import.php
r2485 r3148 564 564 $this->cur_comment->comment_ip = (string) $comment->comment_ip; 565 565 $this->cur_comment->comment_status = (integer) $comment->comment_status; 566 $this->cur_comment->comment_spam_status = ( integer) $comment->comment_spam_status;566 $this->cur_comment->comment_spam_status = (string) $comment->comment_spam_status; 567 567 $this->cur_comment->comment_trackback = (integer) $comment->comment_trackback; 568 568 569 569 $this->cur_comment->comment_tz = $comment->exists('comment_tz') ? (string) $comment->comment_tz : 'UTC'; 570 $this->cur_comment->comment_spam_filter = $comment->exists('comment_spam_filter') ? ( integer) $comment->comment_spam_filter : null;570 $this->cur_comment->comment_spam_filter = $comment->exists('comment_spam_filter') ? (string) $comment->comment_spam_filter : null; 571 571 572 572 $this->cur_comment->insert();
Note: See TracChangeset
for help on using the changeset viewer.