Code Duplication    Length = 2-3 lines in 2 locations

components/Templates/includes/functions-view_template.php 1 location

@@ 410-412 (lines=3) @@
407
				$value = pods_serial_comma( $value, array( 'field' => $field_name, 'fields' => $this->fields ) );
408
			}
409
410
			if ( null !== $value && false !== $value ) {
411
				return $before . $value . $after;
412
			}
413
414
			return '';
415
		}

classes/Pods.php 1 location

@@ 4210-4211 (lines=2) @@
4207
			) );
4208
		}
4209
4210
		if ( null !== $value && false !== $value ) {
4211
			return $before . $value . $after;
4212
		}
4213
4214
		return '';