| 
                                
                                    @@ 856-860 (lines=5) @@
                                 | 
                            
                                                            
                                    | 853 | 
                                     | 
                                    				// save changes  | 
                                
                                                            
                                    | 854 | 
                                     | 
                                    				$registration->save();  | 
                                
                                                            
                                    | 855 | 
                                     | 
                                    				// update txn cache  | 
                                
                                                            
                                    | 856 | 
                                     | 
                                    				if ( ! $this->transaction->update_cache_after_object_save( 'Registration', $registration )) { | 
                                
                                                            
                                    | 857 | 
                                     | 
                                    					if ( $show_errors ) { | 
                                
                                                            
                                    | 858 | 
                                     | 
                                    						EE_Error::add_error( __( 'The newly saved Registration object could not be cached on the Transaction.', 'event_espresso' ), __FILE__, __FUNCTION__, __LINE__);  | 
                                
                                                            
                                    | 859 | 
                                     | 
                                    					}  | 
                                
                                                            
                                    | 860 | 
                                     | 
                                    				}  | 
                                
                                                            
                                    | 861 | 
                                     | 
                                    			}  | 
                                
                                                            
                                    | 862 | 
                                     | 
                                    		} else { | 
                                
                                                            
                                    | 863 | 
                                     | 
                                    			if ( $show_errors ) { | 
                                
                                                                                
                                 | 
                                
                                    @@ 885-892 (lines=8) @@
                                 | 
                            
                                                            
                                    | 882 | 
                                     | 
                                    		if ( $registration->attendee() instanceof EE_Attendee ) { | 
                                
                                                            
                                    | 883 | 
                                     | 
                                    			// save so that ATT has ID  | 
                                
                                                            
                                    | 884 | 
                                     | 
                                    			$registration->attendee()->save();  | 
                                
                                                            
                                    | 885 | 
                                     | 
                                    			if ( ! $registration->update_cache_after_object_save( 'Attendee', $registration->attendee() )) { | 
                                
                                                            
                                    | 886 | 
                                     | 
                                    				if ( $show_errors ) { | 
                                
                                                            
                                    | 887 | 
                                     | 
                                    					EE_Error::add_error(  | 
                                
                                                            
                                    | 888 | 
                                     | 
                                    						__( 'The newly saved Attendee object could not be cached on the registration.', 'event_espresso' ),  | 
                                
                                                            
                                    | 889 | 
                                     | 
                                    						__FILE__, __FUNCTION__, __LINE__  | 
                                
                                                            
                                    | 890 | 
                                     | 
                                    					);  | 
                                
                                                            
                                    | 891 | 
                                     | 
                                    				}  | 
                                
                                                            
                                    | 892 | 
                                     | 
                                    			}  | 
                                
                                                            
                                    | 893 | 
                                     | 
                                    		} else { | 
                                
                                                            
                                    | 894 | 
                                     | 
                                    			if ( $show_errors ) { | 
                                
                                                            
                                    | 895 | 
                                     | 
                                    				ob_start();  |