Commit 42f1c343 authored by Davide Aprea's avatar Davide Aprea

added empty cookie check

parent 130db924
......@@ -310,7 +310,7 @@ class SettingsController extends Controller
}
}
}
if($noduplicate && strlen($cookie) <= 255){
if($noduplicate && !empty($cookie) && strlen($cookie) <= 255){
$cookieName= $fokus . '_blpage' . $cookieCounter;
Cookie::queue($cookieName, $blacklist, 0, $cookiePath, null, false, false);
}
......
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