Fix duplicate Set-Cookie
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
(cherry picked from commit 6e5f8fd330)
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
This commit is contained in:
parent
daa577eba1
commit
54a8995802
@ -832,8 +832,8 @@ class Sql
|
||||
$GLOBALS['querytime'] = $this->dbi->lastQueryExecutionTime;
|
||||
|
||||
if (! defined('TESTSUITE')) {
|
||||
// reopen session
|
||||
session_start();
|
||||
// reopen session but prevent PHP from sending the session cookie again
|
||||
session_start(['use_cookies' => false]);
|
||||
}
|
||||
|
||||
// Displays an error message if required and stop parsing the script
|
||||
|
||||
Loading…
Reference in New Issue
Block a user