Index: branches/unlabeled/unlabeled-1.12.2/core/kernel/processors/tag_processor.php =================================================================== diff -u -r6565 -r6578 --- branches/unlabeled/unlabeled-1.12.2/core/kernel/processors/tag_processor.php (.../tag_processor.php) (revision 6565) +++ branches/unlabeled/unlabeled-1.12.2/core/kernel/processors/tag_processor.php (.../tag_processor.php) (revision 6578) @@ -55,7 +55,7 @@ // process all possible flags: begin $flags = Array('js_escape', 'result_to_var', 'pass_params'); $flag_values = Array(); - + foreach ($flags as $flag_name) { $flag_values[$flag_name] = false; if (isset($params[$flag_name])) { @@ -64,12 +64,12 @@ } } // process all possible flags: end - + // pass_params for non ParseBlock tags :) if ($flag_values['pass_params']) { $params = array_merge_recursive2($this->Application->Parser->Params, $params); } - + $ret = $this->$Method($params); $this->Prefix = $backup_prefix; @@ -81,7 +81,7 @@ $ret = str_replace(Array("\r", "\n"), Array('\r', '\n'), $ret); } if ($flag_values['result_to_var']) { - $this->Application->Parser->SetParam($params['result_to_var'], $ret); + $this->Application->Parser->SetParam($flag_values['result_to_var'], $ret); $ret = ''; } return $ret;