Merge pull request #2444 from dewekk/fix-extra-file

확장변수 파일 삭제 불가 문제 수정
This commit is contained in:
Kijin Sung 2024-12-10 22:32:15 +09:00 committed by GitHub
commit 5a107c58fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1269,7 +1269,7 @@ class DocumentController extends Document
{
// Check if deletion is allowed
$ev_output = $extra_item->validate(null);
if (!$ev_output->toBool())
if ($ev_output && !$ev_output->toBool())
{
$oDB->rollback();
return $ev_output;