Changeset 21408 for branches/version-2_11-dev/data/class/pages
- Timestamp:
- 2012/01/17 16:24:22 (15 years ago)
- Location:
- branches/version-2_11-dev/data/class/pages
- Files:
-
- 3 edited
-
admin/order/LC_Page_Admin_Order_Edit.php (modified) (2 diffs)
-
cart/LC_Page_Cart.php (modified) (2 diffs)
-
mypage/LC_Page_Mypage_DownLoad.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
r21405 r21408 761 761 $changed_no = $objFormParam->getValue('no'); 762 762 } 763 // FXIME バリデーションを通さず $objFormParam の値で DB 問い合わせしている。(管理機能ため、さほど問題は無いと思うものの…)764 765 // 商品規格IDが指定されていない場合、例外エラーを発生766 if (strlen($product_class_id) === 0) {767 SC_Utils_Ex::sfDispException('商品規格指定なし');768 }769 763 770 764 // 選択済みの商品であれば数量を1増やす … … 787 781 $objProduct = new SC_Product_Ex(); 788 782 $arrProduct = $objProduct->getDetailAndProductsClass($product_class_id); 789 790 // 一致する商品規格がない場合、例外エラーを発生791 if (empty($arrProduct)) {792 SC_Utils_Ex::sfDispException('商品規格一致なし');793 }794 795 783 $arrProduct['quantity'] = 1; 796 784 $arrProduct['price'] = $arrProduct['price02']; -
branches/version-2_11-dev/data/class/pages/cart/LC_Page_Cart.php
r21333 r21408 89 89 } 90 90 } 91 $this->cartItems =& $objCartSess->getAllCartList(); 91 92 92 93 $cart_no = $objFormParam->getValue('cart_no'); … … 169 170 $this->lfGetCartPrevUrl($_SESSION,$_SERVER['HTTP_REFERER']); 170 171 $this->tpl_prev_url = (isset($_SESSION['cart_prev_url'])) ? $_SESSION['cart_prev_url'] : ''; 171 172 // すべてのカートの内容を取得する173 $this->cartItems = $objCartSess->getAllCartList();174 172 } 175 173 -
branches/version-2_11-dev/data/class/pages/mypage/LC_Page_Mypage_DownLoad.php
r21405 r21408 79 79 // ログインチェック 80 80 $objCustomer = new SC_Customer_Ex(); 81 if (!$objCustomer->isLoginSuccess( true)){81 if (!$objCustomer->isLoginSuccess()){ 82 82 SC_Utils_Ex::sfDispSiteError(DOWNFILE_NOT_FOUND,"",true); 83 83 }
Note: See TracChangeset
for help on using the changeset viewer.
