Changeset 21648
- Timestamp:
- 2012/03/15 03:49:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_Purchase.php
r21628 r21648 315 315 function clearShipmentItemTemp($shipping_id = null) { 316 316 if (is_null($shipping_id)) { 317 foreach (array_keys($_SESSION['shipping']) as $key) { 318 $this->clearShipmentItemTemp($key); 319 } 320 } else { 317 321 if (!isset($_SESSION['shipping'][$shipping_id])) return; 318 322 if (!is_array($_SESSION['shipping'][$shipping_id])) return; 319 foreach (array_keys($_SESSION['shipping'][$shipping_id]) as $key) {320 $this->clearShipmentItemTemp($key);321 }322 } else {323 323 unset($_SESSION['shipping'][$shipping_id]['shipment_item']); 324 324 }
Note: See TracChangeset
for help on using the changeset viewer.