mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
확장변수 파일 삭제 불가 문제 수정
Call to a member function toBool() on null
This commit is contained in:
parent
6e5ee53ea3
commit
5502df5b81
1 changed files with 1 additions and 1 deletions
|
|
@ -1269,7 +1269,7 @@ class DocumentController extends Document
|
||||||
{
|
{
|
||||||
// Check if deletion is allowed
|
// Check if deletion is allowed
|
||||||
$ev_output = $extra_item->validate(null);
|
$ev_output = $extra_item->validate(null);
|
||||||
if (!$ev_output->toBool())
|
if ($ev_output && !$ev_output->toBool())
|
||||||
{
|
{
|
||||||
$oDB->rollback();
|
$oDB->rollback();
|
||||||
return $ev_output;
|
return $ev_output;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue