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

@@ 4196-4197 (lines=2) @@
4193
			) );
4194
		}
4195
4196
		if ( null !== $value && false !== $value ) {
4197
			return $before . $value . $after;
4198
		}
4199
4200
		return '';