From 2843c01b3dc969c697c188bfcd39e6f28c28c32d Mon Sep 17 00:00:00 2001 From: westi Date: Sat, 16 Aug 2008 20:41:20 +0000 Subject: [PATCH] Fix typo in textpattern importer. Fixes #7529 for trunk. git-svn-id: http://svn.automattic.com/wordpress/trunk@8658 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/import/textpattern.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/import/textpattern.php b/wp-admin/import/textpattern.php index ea44611f48..9dfae4a989 100644 --- a/wp-admin/import/textpattern.php +++ b/wp-admin/import/textpattern.php @@ -356,7 +356,7 @@ class Textpattern_Import { $category1 = get_category_by_slug($Category1); $category1 = $category1->term_id; $category2 = get_category_by_slug($Category2); - $category2 = $category1->term_id; + $category2 = $category2->term_id; if($cat1 = $category1) { $cats[1] = $cat1; } if($cat2 = $category2) { $cats[2] = $cat2; }