Skip to content

Commit

Permalink
Validate non empty value
Browse files Browse the repository at this point in the history
  • Loading branch information
JoryHogeveen committed Nov 5, 2024
1 parent 26fc546 commit d66f41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Pods.php
Original file line number Diff line number Diff line change
Expand Up @@ -4329,7 +4329,7 @@ private function process_magic_tags( $tag ) {
) );
}

if ( null !== $value && false !== $value ) {
if ( $value || is_numeric( $value ) ) {
return $before . $value . $after;
}

Expand Down

0 comments on commit d66f41c

Please sign in to comment.