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(); } /**