Changeset 17679
- Timestamp:
- 2008/11/06 15:10:50 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php
r17678 r17679 124 124 $deliv_count = $objQuery->count("dtb_other_deliv", "customer_id=?", array($objCustomer->getValue('customer_id'))); 125 125 if ($deliv_count < DELIV_ADDR_MAX or isset($_POST['other_deliv_id'])){ 126 $this->lfRegistData($_POST,$arrRegistColumn, $objCustomer); 126 $deliv_count = $objQuery->count("dtb_other_deliv","customer_id=? and other_deliv_id = ?" ,array($objCustomer->getValue('customer_id'), $_POST['other_deliv_id'])); 127 if ($deliv_count == 1) { 128 $this->lfRegistData($_POST,$arrRegistColumn, $objCustomer); 129 } else { 130 SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 131 } 127 132 } 133 128 134 $this->tpl_onload = "fnUpdateParent('". $this->getLocation($_POST['ParentPage']) ."'); window.close();"; 129 135 }
Note: See TracChangeset
for help on using the changeset viewer.