mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Fix warning in fileAdminView when upload target type does not exist
This commit is contained in:
parent
8ad6f40abd
commit
ad21b1e706
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class fileAdminView extends file
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($file->upload_target_type)
|
if($file->upload_target_type && is_array(${$file->upload_target_type.'_srls'}))
|
||||||
{
|
{
|
||||||
if(!in_array($file->upload_target_srl, ${$file->upload_target_type.'_srls'}))
|
if(!in_array($file->upload_target_srl, ${$file->upload_target_type.'_srls'}))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue