Make WordPress Core


Ignore:
Timestamp:
03/25/2007 11:06:28 PM (19 years ago)
Author:
ryan
Message:

Some int casts

File:
1 edited

Legend:

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

    r4239 r5099  
    431431               
    432432                // WordPressify Data
    433                 $comment_ID = ltrim($comment_id, '0');
    434                 $comment_post_ID = $postarr[$post_id];
     433                $comment_ID = (int) ltrim($comment_id, '0');
     434                $comment_post_ID = (int) $postarr[$post_id];
    435435                $comment_approved = "$comment_pub";
    436436                $name = $wpdb->escape(csc ($comment_auteur));
Note: See TracChangeset for help on using the changeset viewer.