|  | @@ 882-886 (lines=5) @@ | 
                                                            
                                    | 879 |  | 				// save changes | 
                                                            
                                    | 880 |  | 				$registration->save(); | 
                                                            
                                    | 881 |  | 				// update txn cache | 
                                                            
                                    | 882 |  | 				if ( ! $this->transaction->update_cache_after_object_save( 'Registration', $registration )) { | 
                                                            
                                    | 883 |  | 					if ( $show_errors ) { | 
                                                            
                                    | 884 |  | 						EE_Error::add_error( __( 'The newly saved Registration object could not be cached on the Transaction.', 'event_espresso' ), __FILE__, __FUNCTION__, __LINE__); | 
                                                            
                                    | 885 |  | 					} | 
                                                            
                                    | 886 |  | 				} | 
                                                            
                                    | 887 |  | 			} | 
                                                            
                                    | 888 |  | 		} else { | 
                                                            
                                    | 889 |  | 			if ( $show_errors ) { | 
                                                                                
                                |  | @@ 912-919 (lines=8) @@ | 
                                                            
                                    | 909 |  | 		if ( $registration->attendee() instanceof EE_Attendee ) { | 
                                                            
                                    | 910 |  | 			// save so that ATT has ID | 
                                                            
                                    | 911 |  | 			$registration->attendee()->save(); | 
                                                            
                                    | 912 |  | 			if ( ! $registration->update_cache_after_object_save( 'Attendee', $registration->attendee() ) ) { | 
                                                            
                                    | 913 |  | 				if ( $show_errors ) { | 
                                                            
                                    | 914 |  | 					EE_Error::add_error( | 
                                                            
                                    | 915 |  | 						__( 'The newly saved Attendee object could not be cached on the registration.', 'event_espresso' ), | 
                                                            
                                    | 916 |  | 						__FILE__, __FUNCTION__, __LINE__ | 
                                                            
                                    | 917 |  | 					); | 
                                                            
                                    | 918 |  | 				} | 
                                                            
                                    | 919 |  | 			} | 
                                                            
                                    | 920 |  | 		} else { | 
                                                            
                                    | 921 |  | 			if ( $show_errors ) { | 
                                                            
                                    | 922 |  | 				EE_Error::add_error( |