diff options
Diffstat (limited to 'lib/private/Session/Internal.php')
-rw-r--r-- | lib/private/Session/Internal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Session/Internal.php b/lib/private/Session/Internal.php index 182754f457c..6d09a2fab1b 100644 --- a/lib/private/Session/Internal.php +++ b/lib/private/Session/Internal.php @@ -54,7 +54,7 @@ class Internal extends Session { try { $this->invoke('session_start'); } catch (\Exception $e) { - setcookie($this->invoke('session_name'), null, -1, \OC::$WEBROOT ?: '/'); + setcookie($this->invoke('session_name'), '', -1, \OC::$WEBROOT ?: '/'); } restore_error_handler(); if (!isset($_SESSION)) { |