Changeset 17703 for branches/version-1/html/mobile/shopping/payment.php
- Timestamp:
- 2008/11/10 20:57:44 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-1/html/mobile/shopping/payment.php
r17690 r17703 84 84 // ÆþÎÏÃͤÎÊÑ´¹ 85 85 $objFormParam->convParam(); 86 $objPage->arrErr = lfCheckError($objPage->arrData );86 $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 87 87 if (!isset($objPage->arrErr['payment_id'])) { 88 88 // »Ùʧ¤¤ÊýË¡¤ÎÆþÎÏ¥¨¥é¡¼¤Ê¤· … … 100 100 // ÆþÎÏÃͤÎÊÑ´¹ 101 101 $objFormParam->convParam(); 102 $objPage->arrErr = lfCheckError($objPage->arrData );102 $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 103 103 // ÆþÎÏ¥¨¥é¡¼¤Ê¤· 104 104 if(count($objPage->arrErr) == 0) { … … 200 200 201 201 /* ÆþÎÏÆâÍÆ¤Î¥Á¥§¥Ã¥¯ */ 202 function lfCheckError($arrData ) {202 function lfCheckError($arrData, $arrInfo, $objCartSess ) { 203 203 global $objFormParam; 204 204 global $objCustomer; … … 223 223 } 224 224 225 //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ 226 $objView = new SC_SiteView(); 227 $objSiteInfo = $objView->objSiteInfo; 228 $arrInfo = $objSiteInfo->data; 229 $objCartSess = new SC_CartSession(); 230 $arrInfo = $objSiteInfo->data; 225 //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ 231 226 // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 232 227 $total_pretax = $objCartSess->getAllProductsTotal($arrInfo);
Note: See TracChangeset
for help on using the changeset viewer.
