Changeset 2744
- Timestamp:
- 02/13/10 18:13:54 (2 years ago)
- Files:
-
- trunk/customer/checkout_process.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/customer/checkout_process.php
r2743 r2744 430 430 $items = $invoice -> loadItems(); 431 431 foreach ($items as $item) { 432 if ($item -> getExtType() == 'DID' ){432 if ($item -> getExtType() == 'DID') { 433 433 $QUERY = "UPDATE cc_did_use set month_payed = month_payed+1 , reminded = 0 WHERE id_did = '" . $item -> getExtId() . 434 434 "' AND activated = 1 AND ( releasedate IS NULL OR releasedate < '1984-01-01 00:00:00') "; 435 435 $instance_table->SQLExec($DBHandle, $QUERY, 0); 436 436 } 437 if ($item -> getExtType() == 'SUBSCR'){437 if ($item -> getExtType() == 'SUBSCR') { 438 438 //Load subscription 439 439 $table_subsc = new Table('cc_card_subscription','paid_status');
