Updated smarty to 2.6.26
This commit is contained in:
@@ -27,7 +27,8 @@ function smarty_function_math($params, &$smarty)
|
||||
return;
|
||||
}
|
||||
|
||||
$equation = $params['equation'];
|
||||
// strip out backticks, not necessary for math
|
||||
$equation = str_replace('`','',$params['equation']);
|
||||
|
||||
// make sure parenthesis are balanced
|
||||
if (substr_count($equation,"(") != substr_count($equation,")")) {
|
||||
|
Reference in New Issue
Block a user