From 572dc0b7ea8f05c4b9b17956aaeb0ed6ab8c1f73 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Thu, 12 Aug 2021 10:17:04 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#1419 --- wire/core/InputfieldWrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/core/InputfieldWrapper.php b/wire/core/InputfieldWrapper.php index 70f441b3..bc7aa117 100644 --- a/wire/core/InputfieldWrapper.php +++ b/wire/core/InputfieldWrapper.php @@ -731,7 +731,7 @@ class InputfieldWrapper extends Inputfield implements \Countable, \IteratorAggre } // if inputfield produced no output, then move to next - if(!$ffOut) continue; + if(!strlen($ffOut)) continue; // wrap the inputfield output $attrs = '';