Skip to content
Permalink
Browse files

fix cookie

  • Loading branch information...
mzhelskiy committed Jun 20, 2012
1 parent 6fdf082 commit a5b7cd5979a9a20fe100a5cd1a748603b1159680
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/modules/user/User.class.php
@@ -493,7 +493,7 @@ protected function AutoLogin() {
if ($this->oUserCurrent) {
return;
}
if (isset($_COOKIE['key']) and $sKey=$_COOKIE['key']) {
if (isset($_COOKIE['key']) and $sKey=(string)$_COOKIE['key']) {
if ($oUser=$this->GetUserBySessionKey($sKey)) {
$this->Authorization($oUser);
} else {

0 comments on commit a5b7cd5

Please sign in to comment.
You can’t perform that action at this time.