mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 12:14:12 +02:00
- replaced most hard errors (exceptions) by softerrors(trigger_error) in plugins
This commit is contained in:
@@ -63,7 +63,7 @@ function smarty_function_html_table($params, $smarty, $template)
|
||||
$caption = '';
|
||||
|
||||
if (!isset($params['loop'])) {
|
||||
throw new Exception ("html_table: missing 'loop' parameter");
|
||||
trigger_error("html_table: missing 'loop' parameter",E_USER_WARNING);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user