Merge branch 'rhymix:master' into master

This commit is contained in:
Lastorder 2025-07-15 10:09:11 +09:00 committed by GitHub
commit e15c8f4e52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 99 additions and 63 deletions

View file

@ -949,8 +949,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;
}
@ -1397,7 +1397,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);