diff --git a/phalcon/Http/Cookie.zep b/phalcon/Http/Cookie.zep index a09beef871b..2009e2d660b 100644 --- a/phalcon/Http/Cookie.zep +++ b/phalcon/Http/Cookie.zep @@ -157,7 +157,7 @@ class Cookie extends AbstractInjectionAware implements CookieInterface options["secure"] = this->getArrVal(options, "secure", secure), options["httponly"] = this->getArrVal(options, "httponly", httpOnly); - setcookie(name, null, options); + setcookie(name, "", options); } /**