- Timestamp:
- 2014/06/03 15:58:18 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/helper/SC_Helper_Delivery.php
r23250 r23513 146 146 if (count($curData)) { 147 147 $objQuery->update($table, $deliv_time, $where, $arrWhereVal); 148 }149 148 // DBに情報がなければ登録 150 else {149 } else { 151 150 $deliv_time['deliv_id'] = $deliv_id; 152 151 $deliv_time['time_id'] = $cnt; 153 152 $objQuery->insert($table, $deliv_time); 154 153 } 155 }156 154 // 入力が空で、DBに情報がある場合は削除 157 elseif (count($curData)) {155 } elseif (count($curData)) { 158 156 $objQuery->delete($table, $where, $arrWhereVal); 159 157 }
Note: See TracChangeset
for help on using the changeset viewer.