Index: branches/RC/core/kernel/processors/main_processor.php =================================================================== diff -u -r8929 -r9238 --- branches/RC/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 8929) +++ branches/RC/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 9238) @@ -271,11 +271,23 @@ */ function Recall($params) { - $ret = $this->Application->RecallVar( $this->SelectParam($params,'name,var,param') ); + $var_name = $this->SelectParam($params,'name,var,param'); + + if (isset($params['persistent']) && $params['persistent']) { + $ret = $this->Application->RecallPersistentVar($var_name); + } + else { + $ret = $this->Application->RecallVar($var_name); + } + $ret = ($ret === false && isset($params['no_null'])) ? '' : $ret; - if( getArrayValue($params,'special') || getArrayValue($params,'htmlchars')) $ret = htmlspecialchars($ret); + if (getArrayValue($params, 'special') || getArrayValue($params, 'htmlchars')) { + $ret = htmlspecialchars($ret); + } - if ( getArrayValue($params, 'urlencode') ) $ret = urlencode($ret); + if (getArrayValue($params, 'urlencode')) { + $ret = urlencode($ret); + } return $ret; } @@ -527,6 +539,11 @@ { $name = $this->SelectParam($params, 'name,var'); $value = $params['value']; + + if (isset($params['persistent']) && $params['persistent']) { + return $this->Application->RecallPersistentVar($name) == $value; + } + return ($this->Application->RecallVar($name) == $value); }