Skip to content

Commit

Permalink
Validate non empty value (#7377)
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark authored Nov 17, 2024
2 parents 9dad299 + d66f41c commit 2e48b70
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 2e48b70

Please sign in to comment.