mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Fix various warnings in PHP 8.0
This commit is contained in:
parent
db6f44a913
commit
4dcdb9e4bd
5 changed files with 10 additions and 5 deletions
|
|
@ -1355,7 +1355,7 @@ class documentController extends document
|
|||
$oDB->commit();
|
||||
|
||||
// Register session
|
||||
if(!$_SESSION['banned_document'][$document_srl] && Context::getSessionStatus())
|
||||
if(!isset($_SESSION['readed_document'][$document_srl]) && Context::getSessionStatus())
|
||||
{
|
||||
$_SESSION['readed_document'][$document_srl] = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue