- Some minor on request debugger
This commit is contained in:
1 parent
c3e3d6a73a
commit
ba74c5a38e
17 files changed
+255
-202
No files matched your search
@@ -13,7 +13,7 @@ class %DELETE_FORM_CONTEXT_CLASSNAME% extends \Lean\Api\Lib\FormContext
|
||||
|
||||
public function valid(? %ENTITY_NS%\%CLASSNAME% $entity = null) : bool
|
||||
{
|
||||
if ( ! $this->getEntity()->isLoaded() ) {
|
||||
if ( $entity === null ) {
|
||||
$this->pushErrorMessage('lean.api.form.delete.error.entity');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user