Code Duplication    Length = 3-3 lines in 2 locations

includes/emails/functions.php 2 locations

@@ 195-197 (lines=3) @@
192
	} // End if().
193
194
	// Set title prefix to name, if non empty.
195
	if ( ! empty( $user_info['title'] ) && ! empty( $user_info['last_name'] ) ) {
196
		$email_names['name'] = give_get_donor_name_with_title_prefixes( $user_info['title'], $user_info['last_name'] );
197
	}
198
199
	// Set title prefix to fullname, if non empty.
200
	if ( ! empty( $user_info['title'] ) && ! empty( $email_names['fullname'] ) ) {
@@ 200-202 (lines=3) @@
197
	}
198
199
	// Set title prefix to fullname, if non empty.
200
	if ( ! empty( $user_info['title'] ) && ! empty( $email_names['fullname'] ) ) {
201
		$email_names['fullname'] = give_get_donor_name_with_title_prefixes( $user_info['title'], $email_names['fullname'] );
202
	}
203
204
	return $email_names;
205
}