mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
issue 1165 add column upload_target_type
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10239 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bef1cd9369
commit
414987aa37
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@
|
||||||
$sid = Context::get('sid');
|
$sid = Context::get('sid');
|
||||||
$logged_info = Context::get('logged_info');
|
$logged_info = Context::get('logged_info');
|
||||||
// Get file information from the DB
|
// Get file information from the DB
|
||||||
$columnList = array('file_srl', 'sid', 'isvalid', 'source_filename', 'module_srl', 'uploaded_filename', 'file_size', 'member_srl', 'upload_target_srl');
|
$columnList = array('file_srl', 'sid', 'isvalid', 'source_filename', 'module_srl', 'uploaded_filename', 'file_size', 'member_srl', 'upload_target_srl', 'upload_target_type');
|
||||||
$file_obj = $oFileModel->getFile($file_srl, $columnList);
|
$file_obj = $oFileModel->getFile($file_srl, $columnList);
|
||||||
// If the requested file information is incorrect, an error that file cannot be found appears
|
// If the requested file information is incorrect, an error that file cannot be found appears
|
||||||
if($file_obj->file_srl!=$file_srl || $file_obj->sid!=$sid) return $this->stop('msg_file_not_found');
|
if($file_obj->file_srl!=$file_srl || $file_obj->sid!=$sid) return $this->stop('msg_file_not_found');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue