summaryrefslogtreecommitdiffstats
path: root/wp-admin/import/dotclear.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/import/dotclear.php')
-rw-r--r--wp-admin/import/dotclear.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/import/dotclear.php b/wp-admin/import/dotclear.php
index 0eb092b..9a32e3a 100644
--- a/wp-admin/import/dotclear.php
+++ b/wp-admin/import/dotclear.php
@@ -437,8 +437,8 @@ class Dotclear_Import {
extract($comment);
// WordPressify Data
- $comment_ID = ltrim($comment_id, '0');
- $comment_post_ID = $postarr[$post_id];
+ $comment_ID = (int) ltrim($comment_id, '0');
+ $comment_post_ID = (int) $postarr[$post_id];
$comment_approved = "$comment_pub";
$name = $wpdb->escape(csc ($comment_auteur));
$email = $wpdb->escape($comment_email);