Index: trunk/core/kernel/application.php =================================================================== diff -u -r4135 -r4216 --- trunk/core/kernel/application.php (.../application.php) (revision 4135) +++ trunk/core/kernel/application.php (.../application.php) (revision 4216) @@ -746,12 +746,10 @@ function LinkVar($var, $ses_var = null, $default = '') { if (!isset($ses_var)) $ses_var = $var; - if ($this->GetVar($var) !== false) - { + if ($this->GetVar($var) !== false) { $this->StoreVar($ses_var, $this->GetVar($var)); } - else - { + else { $this->SetVar($var, $this->RecallVar($ses_var, $default)); } } @@ -1000,7 +998,9 @@ } $ret .= preg_replace('/^'.$join_string.'(.*)/', '?\\1', $params_str); - if ($encode) $ret = str_replace('\\', '%5C', $ret); + if ($encode) { + $ret = str_replace('\\', '%5C', $ret); + } return $ret; } @@ -1116,7 +1116,9 @@ } $ret .= $params_str; - if ($encode) $ret = str_replace('\\', '%5C', $ret); + if ($encode) { + $ret = str_replace('\\', '%5C', $ret); + } return $ret; }