Fix notice. fixes #8082

git-svn-id: http://svn.automattic.com/wordpress/trunk@9554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-06 20:24:29 +00:00
parent 0155abf585
commit d4c55c25d6
1 changed files with 1 additions and 0 deletions

View File

@ -542,6 +542,7 @@ function _fetch_remote_file ($url, $headers = "" ) {
$resp->status = 500;
return $resp;
}
$response = new stdClass;
$response->status = $resp['response']['code'];
$response->headers = $resp['headers'];
$response->results = $resp['body'];