mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix #2088 display error if spam filter prevents temp save
This commit is contained in:
parent
770626af41
commit
c6523706f8
1 changed files with 6 additions and 0 deletions
|
|
@ -3302,6 +3302,12 @@ Content;
|
|||
$oDocument = DocumentModel::getDocument($output->get('document_srl'));
|
||||
}
|
||||
|
||||
// Return error if save failed for any reason
|
||||
if (!$output->toBool())
|
||||
{
|
||||
return $output;
|
||||
}
|
||||
|
||||
// Set the attachment to be invalid state
|
||||
if($oDocument->hasUploadedFiles())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue