mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-05 01:52:17 +09:00
Creating default object from empty value
This commit is contained in:
parent
002d239137
commit
a2eee72f48
1 changed files with 3 additions and 1 deletions
|
|
@ -303,6 +303,8 @@ class fileModel extends file
|
|||
{
|
||||
if(!$file_info) return null;
|
||||
|
||||
$file_grant = new stdClass;
|
||||
|
||||
if($_SESSION['__XE_UPLOADING_FILES_INFO__'][$file_info->file_srl])
|
||||
{
|
||||
$file_grant->is_deletable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue