Make WordPress Core


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

Some int casts

File:
1 edited

Legend:

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

    r4239 r5099  
    170170        }
    171171        $this->file = $file['file'];
    172         $this->id = $file['id'];
     172        $this->id = (int) $file['id'];
    173173
    174174        $this->get_entries();
     
    294294                }
    295295
    296                 $comment_post_ID = $post_id;
     296                $comment_post_ID = (int) $post_id;
    297297                $comment_approved = 1;
    298298
Note: See TracChangeset for help on using the changeset viewer.