From 3122ba26c7b048e22effa000f3bd10bcf941c653 Mon Sep 17 00:00:00 2001 From: Mike Little Date: Wed, 11 Jun 2003 10:08:44 +0000 Subject: [PATCH] Fix to go with xmlrpc update to use ezSQL. git-svn-id: https://develop.svn.wordpress.org/trunk@203 602fd350-edb4-49c9-b593-d223f7449a82 --- b2-include/b2functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2-include/b2functions.php b/b2-include/b2functions.php index 1a005a4cec..9474f9757c 100644 --- a/b2-include/b2functions.php +++ b/b2-include/b2functions.php @@ -406,7 +406,7 @@ function user_pass_ok($user_login,$user_pass) { } else { $userdata = $cache_userdata[$user_login]; } - return ($user_pass == $userdata['user_pass']); + return ($user_pass == $userdata->user_pass); } function get_currentuserinfo() { // a bit like get_userdata(), on steroids