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

@@ 4153-4154 (lines=2) @@
4150
			$value = pods_serial_comma( $value, array( 'field' => $field_name, 'fields' => $this->fields ) );
4151
		}
4152
4153
		if ( null !== $value && false !== $value ) {
4154
			return $before . $value . $after;
4155
		}
4156
4157
		return '';