mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Don't truncate upload_target_type in setFilesValid()
This commit is contained in:
parent
e2ac12e76a
commit
d1527ecc90
1 changed files with 1 additions and 1 deletions
|
|
@ -808,7 +808,7 @@ class FileController extends File
|
|||
$args->old_isvalid = 'N';
|
||||
if($upload_target_type)
|
||||
{
|
||||
$args->upload_target_type = substr($upload_target_type, 0, 3);
|
||||
$args->upload_target_type = $upload_target_type;
|
||||
}
|
||||
$output = executeQuery('file.updateFileValid', $args);
|
||||
$output->add('updated_file_count', intval(DB::getInstance()->getAffectedRows()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue