Commit 2a97c1e7 authored by Raph El's avatar Raph El
Browse files

Correction bug cookie

parent 9cebe7b5
......@@ -49,7 +49,7 @@ class CO2 {
$communexion["state"] = true;
}
if(CookieHelper::hasCookie("communexion")) {
if(CookieHelper::hasCookie("communexion") && CookieHelper::hasCookie("communexionType")) {
$communexion["state"] = true;
$communexion["values"] = json_decode(CookieHelper::getCookie("communexion"), true);
$communexion["currentLevel"] = "city";
......
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