From d66f41c5fb9fba12e6d8808832ad508291fbf8cb Mon Sep 17 00:00:00 2001 From: JoryHogeveen Date: Tue, 5 Nov 2024 17:21:08 +0100 Subject: [PATCH] Validate non empty value --- classes/Pods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Pods.php b/classes/Pods.php index dbcb023c35..cb11f392cb 100644 --- a/classes/Pods.php +++ b/classes/Pods.php @@ -4329,7 +4329,7 @@ private function process_magic_tags( $tag ) { ) ); } - if ( null !== $value && false !== $value ) { + if ( $value || is_numeric( $value ) ) { return $before . $value . $after; }