mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix missing category_srl in updateDocument return value #2575
This commit is contained in:
parent
7ce1f17bea
commit
94869286ce
1 changed files with 4 additions and 3 deletions
|
|
@ -944,8 +944,8 @@ class DocumentController extends Document
|
|||
{
|
||||
$this->addGrant($obj->document_srl);
|
||||
}
|
||||
$output->add('document_srl',$obj->document_srl);
|
||||
$output->add('category_srl',$obj->category_srl);
|
||||
$output->add('document_srl', $obj->document_srl);
|
||||
$output->add('category_srl', $obj->category_srl);
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
|
@ -1392,7 +1392,8 @@ class DocumentController extends Document
|
|||
// Remove the thumbnail file
|
||||
Rhymix\Framework\Storage::deleteDirectory(RX_BASEDIR . sprintf('files/thumbnails/%s', getNumberingPath($obj->document_srl, 3)));
|
||||
|
||||
$output->add('document_srl',$obj->document_srl);
|
||||
$output->add('document_srl', $obj->document_srl);
|
||||
$output->add('category_srl', $obj->category_srl);
|
||||
|
||||
//remove from cache
|
||||
self::clearDocumentCache($obj->document_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue