session-fix.diff

Helmut Hummel, 2011-08-31 23:13

Download (653 Bytes)

View differences:

t3lib/class.t3lib_userauth.php
252 252
			// Make certain that NO user is set initially
253 253
		$this->user = '';
254 254

  
255
		if (t3lib_div::_GP($this->formfield_status) === 'login') {
255 256
			// We need a PHP session session for most login levels
256
		session_start();
257
			session_start();
258
		}
257 259

  
258 260
			// Check to see if anyone has submitted login-information and if so register the user with the session. $this->user[uid] may be used to write log...
259 261
		$this->checkAuthentication();