- replaced most hard errors (exceptions) by softerrors(trigger_error) in plugins

This commit is contained in:
Uwe.Tews
2009-12-01 20:34:32 +00:00
parent e5cd6c8a17
commit 7e45bcf527
14 changed files with 35 additions and 34 deletions
+1 -1
View File
@@ -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 {