Index: trunk/core/kernel/parser/template_parser.php =================================================================== diff -u -r3530 -r3556 --- trunk/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 3530) +++ trunk/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 3556) @@ -64,10 +64,11 @@ function SetParams($params) { if (!is_array($params)) $params = Array(); - + + $this->ForSort = array(); $this->Params = $params; $this->ParamsStack[$this->ParamsRecursionIndex] = $params; - + foreach ($params as $key => $val) { $this->AddParam('/[{]{0,1}\$'.$key.'[}]{0,1}/i', $val, 1); //Do not sort every time }