From 8a4fb508ec411082f5e686c39b9220314b5e1a56 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 10 May 2007 02:30:58 +0000 Subject: [PATCH] Var is an object var. Add missing this. git-svn-id: https://develop.svn.wordpress.org/branches/2.2@5426 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/import/wordpress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php index deff943d7..697a665e0 100644 --- a/wp-admin/import/wordpress.php +++ b/wp-admin/import/wordpress.php @@ -65,7 +65,7 @@ function checkauthor($author) { $this->mtnames[$this->j] = $author; //add that new mt author name to an array $user_id = username_exists($this->newauthornames[$this->j]); //check if the new author name defined by the user is a pre-existing wp user if (!$user_id) { //banging my head against the desk now. - if ($newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname + if ($this->newauthornames[$this->j] == 'left_blank') { //check if the user does not want to change the authorname $user_id = wp_create_user($author, $pass); $this->newauthornames[$this->j] = $author; //now we have a name, in the place of left_blank. } else {