mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-21 08:58:58 +02:00
- bugfix cycle plugin
This commit is contained in:
@@ -63,7 +63,7 @@ function smarty_function_cycle($params, $smarty, $template)
|
||||
|
||||
if (isset($params['delimiter'])) {
|
||||
$template->plugin_data['cycle'][$name]['delimiter'] = $params['delimiter'];
|
||||
} elseif (!isset($cycle_vars[$name]['delimiter'])) {
|
||||
} elseif (!isset($template->plugin_data['cycle'][$name]['delimiter'])) {
|
||||
$template->plugin_data['cycle'][$name]['delimiter'] = ',';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user