mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +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;
|
if(!$file_info) return null;
|
||||||
|
|
||||||
|
$file_grant = new stdClass;
|
||||||
|
|
||||||
if($_SESSION['__XE_UPLOADING_FILES_INFO__'][$file_info->file_srl])
|
if($_SESSION['__XE_UPLOADING_FILES_INFO__'][$file_info->file_srl])
|
||||||
{
|
{
|
||||||
$file_grant->is_deletable = true;
|
$file_grant->is_deletable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue