X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/blobdiff_plain/d2c79885c79f02502a531c00d0d437c96e7c3a4d..715ddc41f45dcf4d64348fef69844618ad1abb3d:/src/BIFE/Generic.php diff --git a/src/BIFE/Generic.php b/src/BIFE/Generic.php index c1a1b60..bbda5bd 100644 --- a/src/BIFE/Generic.php +++ b/src/BIFE/Generic.php @@ -94,7 +94,7 @@ class BIFE_Generic extends BIFE_Container { /** * Renders the widget. * - * @param HTML_Template_Sigma &$template Template to use to render the widget. + * @param HTML_Template_HIT &$template Template to use to render the widget. * * @return string * @access public @@ -102,8 +102,10 @@ class BIFE_Generic extends BIFE_Container { function render(&$template) // ~X2C { $this->attrs['CONTENTS'] = parent::render($template); - $template->group = ''; - return $template->parse(get_class($this), $this->attrs); + $template->setGroup(); + $out = $template->parse(get_class($this), $this->attrs); + $template->unsetGroup(); + return $out; } // -X2C