mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-17 07:59:27 +01:00
update plugins to return values instead of echo, fix config file cache
to include global config variables in cache file
This commit is contained in:
@@ -202,7 +202,7 @@ function smarty_function_fetch($params, &$smarty)
|
||||
if (!empty($params['assign'])) {
|
||||
$smarty->assign($params['assign'],$content);
|
||||
} else {
|
||||
echo $content;
|
||||
return $content;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user