Skip to content

Commit

Permalink
Update includes/Fragments/TemplateOutput.php
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Walker <github@stwalkerster.co.uk>
  • Loading branch information
methecooldude and stwalkerster committed Aug 18, 2024
1 parent 42953a0 commit ddb3191
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/Fragments/TemplateOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ final protected function setUpSmarty()
{
$this->smarty = new Smarty();
$this->smarty->addPluginsDir($this->getSiteConfiguration()->getFilePath() . '/smarty-plugins');
$this->registerPlugin('modifier', 'count', 'count');
$this->registerPlugin('modifier', 'implode', 'implode');
$this->smarty->registerPlugin('modifier', 'implode', 'implode');

$this->assign('currentUser', User::getCommunity());
$this->assign('skin', 'auto');
Expand Down

0 comments on commit ddb3191

Please sign in to comment.