mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix potential fatal error when migrating from previous session
This commit is contained in:
parent
b32ae03396
commit
0a5042ec6e
2 changed files with 8 additions and 3 deletions
|
|
@ -699,6 +699,10 @@ class fileController extends file
|
|||
*/
|
||||
function setUploadInfo($editor_sequence, $upload_target_srl=0)
|
||||
{
|
||||
if(!isset($_SESSION['upload_info']) || !is_array($_SESSION['upload_info']))
|
||||
{
|
||||
$_SESSION['upload_info'] = array();
|
||||
}
|
||||
if(!isset($_SESSION['upload_info'][$editor_sequence]))
|
||||
{
|
||||
$_SESSION['upload_info'][$editor_sequence] = new stdClass();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue