Project

General

Profile

Bug #55696 ยป patch.diff

Christoph Hofmann, 2014-02-05 14:27

View differences:

typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php
*/
public function unpack_uc($theUC = '') {
if (!$theUC) {
$theUC = unserialize($this->user['uc']);
if (isset($this->user['uc'])) {
$theUC = unserialize($this->user['uc']);
}
}
if (is_array($theUC)) {
$this->uc = $theUC;
typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php
* @todo Define visibility
*/
public function isSetSessionCookie() {
$retVal = ($this->newSessionID || $this->forceSetCookie) && ($this->lifetime == 0 || !$this->user['ses_permanent']);
$retVal = ($this->newSessionID || $this->forceSetCookie) && ($this->lifetime == 0 || !isset($this->user['ses_permanent']));
return $retVal;
}
......
* @todo Define visibility
*/
public function isRefreshTimeBasedCookie() {
return $this->lifetime > 0 && $this->user['ses_permanent'];
return $this->lifetime > 0 && isset($this->user['ses_permanent']);
}
/**
    (1-1/1)