diff --git a/libs/plugins/function.math.php b/libs/plugins/function.math.php index cda6df01..30d84810 100644 --- a/libs/plugins/function.math.php +++ b/libs/plugins/function.math.php @@ -25,35 +25,35 @@ function smarty_function_math($params, $template) { static $_allowed_funcs = array( - 'int' => true, - 'abs' => true, - 'ceil' => true, - 'acos' => true, + 'int' => true, + 'abs' => true, + 'ceil' => true, + 'acos' => true, 'acosh' => true, - 'cos' => true, - 'cosh' => true, - 'deg2rad' => true, - 'rad2deg' => true, - 'exp' => true, - 'floor' => true, - 'log' => true, - 'log10' => true, - 'max' => true, - 'min' => true, - 'pi' => true, - 'pow' => true, - 'rand' => true, - 'round' => true, - 'asin' => true, + 'cos' => true, + 'cosh' => true, + 'deg2rad' => true, + 'rad2deg' => true, + 'exp' => true, + 'floor' => true, + 'log' => true, + 'log10' => true, + 'max' => true, + 'min' => true, + 'pi' => true, + 'pow' => true, + 'rand' => true, + 'round' => true, + 'asin' => true, 'asinh' => true, - 'sin' => true, - 'sinh' => true, - 'sqrt' => true, - 'srand' => true, - 'atan' => true, + 'sin' => true, + 'sinh' => true, + 'sqrt' => true, + 'srand' => true, + 'atan' => true, 'atanh' => true, - 'tan' => true, - 'tanh' => true + 'tan' => true, + 'tanh' => true ); // be sure equation parameter is present