Fix typo in textpattern importer. Fixes #7529 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@8658 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-08-16 20:41:20 +00:00
parent 8a83012b1a
commit 70dc6f6b85
1 changed files with 1 additions and 1 deletions

View File

@ -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; }