X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/blobdiff_plain/d2c79885c79f02502a531c00d0d437c96e7c3a4d..715ddc41f45dcf4d64348fef69844618ad1abb3d:/src/BIFE/AlbumPhoto.php diff --git a/src/BIFE/AlbumPhoto.php b/src/BIFE/AlbumPhoto.php index 1c63d78..c0ffa06 100644 --- a/src/BIFE/AlbumPhoto.php +++ b/src/BIFE/AlbumPhoto.php @@ -75,15 +75,17 @@ class BIFE_AlbumPhoto extends BIFE_Widget { /** * Renders the widget using a template returning a string with the results. * - * @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 */ function render(&$template) // ~X2C { - $template->group = 'album'; - return $template->parse('photo', $this->attrs); + $template->setGroup('album'); + $out = $template->parse('photo', $this->attrs); + $template->unsetGroup(); + return $out; } // -X2C