Commit bf73fd81 by SonicGD

Set expire to null so CookieCollection::has work

parent 58b4c193
......@@ -1190,6 +1190,7 @@ class Request extends \yii\base\Request
$cookies[$name] = new Cookie([
'name' => $name,
'value' => @unserialize($value),
'expire'=>null
]);
}
}
......@@ -1198,6 +1199,7 @@ class Request extends \yii\base\Request
$cookies[$name] = new Cookie([
'name' => $name,
'value' => $value,
'expire'=>null
]);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment