| @@ 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  | 
                                |
| @@ 1053-1058 (lines=6) @@ | ||
| 1050 | ||
| 1051 | ||
| 1052 | //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.  | 
                                |
| 1053 | 			if ( isset( $tkt['TKT_is_default'] ) && $tkt['TKT_is_default'] ) { | 
                                |
| 1054 | $TKT_values['TKT_ID'] = 0;  | 
                                |
| 1055 | $TKT_values['TKT_is_default'] = 0;  | 
                                |
| 1056 | $TKT_values['TKT_price'] = $ticket_price;  | 
                                |
| 1057 | $update_prices = TRUE;  | 
                                |
| 1058 | }  | 
                                |
| 1059 | ||
| 1060 | //if we have a TKT_ID then we need to get that existing TKT_obj and update it  | 
                                |
| 1061 | //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.  | 
                                |