mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #1490 error in PHP 8.0
This commit is contained in:
parent
2de3bbcea7
commit
bfce45e611
1 changed files with 2 additions and 2 deletions
|
|
@ -84,8 +84,8 @@ class documentView extends document
|
|||
if(!Context::get('is_logged')) throw new Rhymix\Framework\Exceptions\NotPermitted;
|
||||
// Taken from a list of selected sessions
|
||||
$document_srl_list = array();
|
||||
$flag_list = $_SESSION['document_management'];
|
||||
if(count($flag_list))
|
||||
$flag_list = $_SESSION['document_management'] ?? [];
|
||||
if(is_array($flag_list) && count($flag_list))
|
||||
{
|
||||
foreach($flag_list as $key => $val)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue