Ignore:
Timestamp:
2013/08/26 20:23:50 (11 years ago)
Author:
yomoro
Message:

#2275 PEAR更新 r23125 の対応でエラーが出ていたため、LC_Page_Upgrade_ProductsList.phpも修正。(HTTP_Request2に対応)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/upgrade/LC_Page_Upgrade_ProductsList.php

    r23124 r23128  
    8787        ); 
    8888        $objReq = $this->request('products_list', $arrPostData); 
     89        $response = $objReq->send(); 
    8990 
    9091        // リクエストチェック 
     
    100101        // レスポンスチェック 
    101102        $objLog->log('* http response check start'); 
    102         if ($objReq->getResponseCode() !== 200) { 
     103 
     104        if ( $response->getStatus() !== 200) { 
    103105            $objJson->setError(OSTORE_E_C_HTTP_RESP); 
    104106            $objJson->display(); 
     
    108110        } 
    109111 
    110         $body = $objReq->getResponseBody(); 
     112        $body = $response->getBody(); 
    111113        $objRet = $objJson->decode($body); 
    112114 
Note: See TracChangeset for help on using the changeset viewer.