mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix warning in PHP 8.0 during unit tests
This commit is contained in:
parent
c151191b73
commit
8e56fe5912
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ class Session
|
|||
}
|
||||
|
||||
// If this is not a GET request, do not refresh now.
|
||||
if ($_SERVER['REQUEST_METHOD'] !== 'GET')
|
||||
if (!isset($_SERVER['REQUEST_METHOD']) || $_SERVER['REQUEST_METHOD'] !== 'GET')
|
||||
{
|
||||
$must_refresh = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue