diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-03-23 17:46:02 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-03-23 17:46:02 +0000 |
| commit | 2e96b99ceb195735a641e299f3209840cc101052 (patch) | |
| tree | 374954833d10017ae7adb6a031d54fd0dc36f3a2 /wp-admin/import/mt.php | |
| parent | bf6a271edebcceb76d6e378156e92fe72c1fbb18 (diff) | |
| download | wordpress-mu-2e96b99ceb195735a641e299f3209840cc101052.tar.gz wordpress-mu-2e96b99ceb195735a641e299f3209840cc101052.tar.xz wordpress-mu-2e96b99ceb195735a641e299f3209840cc101052.zip | |
Ryan casts an int and catches a fish, someone buy him a pint! merge to 5092
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@933 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/import/mt.php')
| -rw-r--r-- | wp-admin/import/mt.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/import/mt.php b/wp-admin/import/mt.php index 733c7fa..1effb5c 100644 --- a/wp-admin/import/mt.php +++ b/wp-admin/import/mt.php @@ -154,7 +154,7 @@ class MT_Import { return; } $this->file = $file['file']; - $this->id = $file['id']; + $this->id = (int) $file['id']; $this->get_entries(); $this->mt_authors_form(); @@ -278,7 +278,7 @@ class MT_Import { } } - $comment_post_ID = $post_id; + $comment_post_ID = (int) $post_id; $comment_approved = 1; // Now for comments |
