Index: trunk/core/kernel/session/session.php =================================================================== diff -u -r1560 -r1711 --- trunk/core/kernel/session/session.php (.../session.php) (revision 1560) +++ trunk/core/kernel/session/session.php (.../session.php) (revision 1711) @@ -574,7 +574,10 @@ function SaveData() { - $this->StoreVar('last_template', basename($_SERVER['PHP_SELF']).'|'.substr($this->Application->BuildEnv($this->Application->GetVar('t'), Array('m_opener' => 'u'), 'all', true), strlen(ENV_VAR_NAME)+1 )); + if( $this->Application->GetVar('t') != 'help' ) + { + $this->StoreVar('last_template', basename($_SERVER['PHP_SELF']).'|'.substr($this->Application->BuildEnv($this->Application->GetVar('t'), Array('m_opener' => 'u'), 'all', true), strlen(ENV_VAR_NAME)+1 )); + } $this->StoreVar('last_env', substr($this->Application->BuildEnv($this->Application->GetVar('t'),Array('pass'=>'all')), strlen(ENV_VAR_NAME)+1 )); $this->PrintSession('after save'); $this->Storage->SaveData($this);