mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-10 19:15:21 +02:00
- reactivated $error_reporting property handling
- fixed typo in compile_continue - fixed security in {fetch} plugin - changed back plugin parameters to two. second is template object with transparent access to Smarty object - fixed {config_load} scoping form compile time to run time
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* @param object $template template object
|
||||
* @return string|null
|
||||
*/
|
||||
function smarty_function_math($params, $smarty, $template)
|
||||
function smarty_function_math($params, $template)
|
||||
{
|
||||
// be sure equation parameter is present
|
||||
if (empty($params['equation'])) {
|
||||
|
Reference in New Issue
Block a user