- Some minor on request debugger

This commit is contained in:
Dave Mc Nicoll committed 2026-01-12 21:18:10 +00:00
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');
}