Code Duplication    Length = 3-9 lines in 2 locations

components/Templates/includes/functions-pod_reference.php 2 locations

@@ 76-78 (lines=3) @@
73
74
					$pod = pods( $field['table_info']['pod']['name'] );
75
					// only tunnel in if there are object fields
76
					if(!empty($field['table_info']['object_fields'])){
77
						$out = array_merge( $out, pq_tunnel_pod_field( $field['table_info']['object_fields'], $prefix . $name . '.' ) );
78
					}
79
					if( post_type_supports( $field['table_info']['pod']['name'], 'thumbnail' ) ){
80
						$out[] = 'post_thumbnail';
81
						$out[] = 'post_thumbnail_url';
@@ 91-99 (lines=9) @@
88
					$pod_fields = $pod->fields();
89
					$out = array_merge( $out, pq_tunnel_pod_field( $pod_fields, $prefix . $name . '.') );
90
				}
91
			}else{
92
				
93
				if(!empty($field['table_info']['object_fields'])){
94
				
95
					$out = array_merge( $out, pq_tunnel_pod_field( $field['table_info']['object_fields'], $prefix . $name . '.') );
96
				
97
				}
98
99
			}
100
		}
101
	}
102