Changeset 21408 for branches/version-2_11-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
- Timestamp:
- 2012/01/17 16:24:22 (12 years ago)
- File:
-
- 1 edited
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'];
Note: See TracChangeset
for help on using the changeset viewer.