mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +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
|
|
@ -302,7 +302,9 @@ class fileModel extends file
|
|||
function getFileGrant($file_info, $member_info)
|
||||
{
|
||||
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