fix behaviour without action

This commit is contained in:
Christian Foellmann 2022-07-22 23:23:37 +02:00
parent 8a80725793
commit f651bf9c0d
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ foreach ($object->fields as $key => $val) {
}
if (empty($action) && empty($id) && empty($ref)) {
$action = 'view';
$action = 'create';
}
// Load object

View File

@ -85,7 +85,7 @@ foreach ($object->fields as $key => $val) {
}
if (empty($action) && empty($id) && empty($ref)) {
$action = 'view';
$action = 'create';
}
// Load object