mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +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'));
|
$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
|
// Set the attachment to be invalid state
|
||||||
if($oDocument->hasUploadedFiles())
|
if($oDocument->hasUploadedFiles())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue