| @@ 1043-1048 (lines=6) @@ | ||
| 1040 | ||
| 1041 | ||
| 1042 | //if this is a default TKT, then we need to set the TKT_ID to 0 and update accordingly, which means in turn that the prices will become new prices as well. | |
| 1043 | 			if ( isset( $tkt['TKT_is_default'] ) && $tkt['TKT_is_default'] ) { | |
| 1044 | $TKT_values['TKT_ID'] = 0; | |
| 1045 | $TKT_values['TKT_is_default'] = 0; | |
| 1046 | $TKT_values['TKT_price'] = $ticket_price; | |
| 1047 | $update_prices = TRUE; | |
| 1048 | } | |
| 1049 | ||
| 1050 | //if we have a TKT_ID then we need to get that existing TKT_obj and update it | |
| 1051 | //we actually do our saves a head of doing any add_relations to because its entirely possible that this ticket didn't removed or added to any datetime in the session but DID have it's items modified. | |
| @@ 394-398 (lines=5) @@ | ||
| 391 | ||
| 392 | ||
| 393 | //if this is a default TKT, then we need to set the TKT_ID to 0 and update accordingly, which means in turn that the prices will become new prices as well. | |
| 394 | 			if ( isset( $tkt['TKT_is_default'] ) && $tkt['TKT_is_default'] ) { | |
| 395 | $TKT_values['TKT_ID'] = 0; | |
| 396 | $TKT_values['TKT_is_default'] = 0; | |
| 397 | $update_prices = TRUE; | |
| 398 | } | |
| 399 | ||
| 400 | // if we have a TKT_ID then we need to get that existing TKT_obj and update it | |
| 401 | // we actually do our saves ahead of doing any add_relations to | |