From 68940a6a9cf64ede57172862d5b7085e3b9532cb Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 30 Aug 2019 11:36:25 -0400 Subject: [PATCH] Minor adjustment to previous commit (removing development output) --- .../Inputfield/InputfieldToggle/InputfieldToggle.module | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/wire/modules/Inputfield/InputfieldToggle/InputfieldToggle.module b/wire/modules/Inputfield/InputfieldToggle/InputfieldToggle.module index 711c352b..a5587eaa 100644 --- a/wire/modules/Inputfield/InputfieldToggle/InputfieldToggle.module +++ b/wire/modules/Inputfield/InputfieldToggle/InputfieldToggle.module @@ -299,11 +299,7 @@ class InputfieldToggle extends Inputfield { if(!$f) return "Unable to load Inputfield"; $f->val($this->val()); - $out = $f->render(); - - $out .= "
" . print_r($this->getAllLabels(), true) . "
"; - - return $out; + return $f->render(); } /**