Fix request token generation if no cookies set

release-0.6
thomascube 14 years ago
parent be157c74fb
commit c9f2c47027

@ -1107,6 +1107,7 @@ class rcmail
public function get_request_token()
{
$sess_id = $_COOKIE[ini_get('session.name')];
if (!$sess_id) $sess_id = session_id();
return md5('RT' . $this->task . $this->config->get('des_key') . $sess_id);
}

Loading…
Cancel
Save