Ignore:
Timestamp:
2007/10/11 16:41:56 (17 years ago)
Author:
nanasess
Message:

addslashes() を SC_Utils_Ex::sfQuoteSmart() に修正

Location:
branches/feature-module-update/html/mobile
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/mobile/regist/index.php

    r16322 r16379  
    8787    $arrRet = $objQuery->select("point", "dtb_customer", $where, array($array["id"])); 
    8888    // 会員登録時の加算ポイント(購入時会員登録の場合は、ポイント加算) 
    89     $arrRegist['point'] = $arrRet[0]['point'] + addslashes($arrInfo['welcome_point']); 
     89    $arrRegist['point'] = $arrRet[0]['point'] + $arrInfo['welcome_point']; 
    9090     
    9191    $objQuery->update("dtb_customer", $arrRegist, $where, array($array["id"])); 
     
    128128    } 
    129129 
    130     $objQuery->update("dtb_customer", $arrRegistMail, "email = '" .addslashes($email). "' AND del_flg = 0"); 
     130    $objQuery->update("dtb_customer", $arrRegistMail, "email = " . SC_Utils_Ex::sfQuoteSmart($email). " AND del_flg = 0"); 
    131131    $objConn->query("COMMIT"); 
    132132         
  • branches/feature-module-update/html/mobile/shopping/deliv_addr.php

    r15532 r16379  
    210210    $objConn->query("BEGIN"); 
    211211    if ($array['other_deliv_id'] != ""){ 
    212         $objConn->autoExecute("dtb_other_deliv", $arrRegist, "other_deliv_id='" .addslashes($array["other_deliv_id"]). "'"); 
     212        $objConn->autoExecute("dtb_other_deliv", $arrRegist, "other_deliv_id=" SC_Utils_Ex::sfQuoteSmart($array["other_deliv_id"])); 
    213213    }else{ 
    214214        $objConn->autoExecute("dtb_other_deliv", $arrRegist); 
Note: See TracChangeset for help on using the changeset viewer.