replaced oxSession::getVar() to oxRegistry::getSession()->getVariable()