Make WordPress Core


Ignore:
Timestamp:
03/23/2007 12:59:21 AM (18 years ago)
Author:
matt
Message:

(int)er the dragon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/dotclear.php

    r4608 r5087  
    438438
    439439                // WordPressify Data
    440                 $comment_ID = ltrim($comment_id, '0');
    441                 $comment_post_ID = $postarr[$post_id];
     440                $comment_ID = (int) ltrim($comment_id, '0');
     441                $comment_post_ID = (int) $postarr[$post_id];
    442442                $comment_approved = "$comment_pub";
    443443                $name = $wpdb->escape(csc ($comment_auteur));
Note: See TracChangeset for help on using the changeset viewer.