Fix typo in textpattern importer. Fixes #7529 for 2.6 branch props jhernandis.

git-svn-id: http://svn.automattic.com/wordpress/branches/2.6@8659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-08-16 20:44:32 +00:00
parent 6539d7a7b0
commit 71404d3c6c

View File

@ -333,7 +333,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; }