source/Application/Component/UserComponent.php
public function getInvitor()
    {
        $sSu = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('su');

        if (!$sSu && ($sSuNew = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('su'))) {
            \OxidEsales\Eshop\Core\Registry::getSession()->setVariable('su', $sSuNew);
        }
    }
public function getInvitor()
    {
        $sSu = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('su');

        if (!$sSu && ($sSuNew = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('su'))) {
            \OxidEsales\Eshop\Core\Registry::getSession()->setVariable('su', $sSuNew);
        }
    }
public function getInvitor ( ) { $ sSu = \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> getVariable ( 'su' ) ; if ( ! $ sSu && ( $ sSuNew = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'su' ) ) ) { \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> setVariable ( 'su' , $ sSuNew ) ; } }
Sets invitor id to session from URL
Sets invitor id to session from URL