Return additional values on getPostalAddress
This commit is contained in:
		
							parent
							
								
									0219fc3dee
								
							
						
					
					
						commit
						aab0b132b2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -787,7 +787,7 @@ sub getPostalAddresses($) { | |||
| 
 | ||||
|   die "addPostalAddress: invalid id, $id" unless $self->_verifyId($id); | ||||
| 
 | ||||
|   my $val = $self->dbh()->selectall_hashref("SELECT pa.formatted_address, at.name, pa.date_encountered, pa.id " . | ||||
|   my $val = $self->dbh()->selectall_hashref("SELECT pa.formatted_address, at.name, pa.date_encountered, pa.invalid, at.name, pa.id " . | ||||
|                                             "FROM donor_postal_address_mapping map, address_type at, postal_address pa " . | ||||
|                                             "WHERE at.id = pa.type_id AND pa.id = map.postal_address_id AND " . | ||||
|                                             "map.donor_id = " . $self->dbh->quote($id, 'SQL_INTEGER'), | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn