diff --git a/lib/Form/Block/Base.php b/lib/Form/Block/Base.php index 633f7920c4..44c0134cc1 100644 --- a/lib/Form/Block/Base.php +++ b/lib/Form/Block/Base.php @@ -68,6 +68,12 @@ abstract class Base { protected static function renderLabel($block) { $html = ''; + if ( + isset($block['params']['hide_label']) + && $block['params']['hide_label'] + ) { + return $html; + } if ( isset($block['params']['label_within']) && $block['params']['label_within']