mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 04:04:10 +02:00
- replaced most hard errors (exceptions) by softerrors(trigger_error) in plugins
This commit is contained in:
@@ -50,7 +50,7 @@ function smarty_function_cycle($params, $smarty, $template)
|
||||
|
||||
if (!in_array('values', array_keys($params))) {
|
||||
if(!isset($template->plugin_data['cycle'][$name]['values'])) {
|
||||
throw new Exception ("cycle: missing 'values' parameter");
|
||||
trigger_error("cycle: missing 'values' parameter",E_USER_WARNING);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user