fix behaviour without action
This commit is contained in:
parent
8a80725793
commit
f651bf9c0d
@ -86,7 +86,7 @@ foreach ($object->fields as $key => $val) {
|
||||
}
|
||||
|
||||
if (empty($action) && empty($id) && empty($ref)) {
|
||||
$action = 'view';
|
||||
$action = 'create';
|
||||
}
|
||||
|
||||
// Load object
|
||||
|
||||
@ -85,7 +85,7 @@ foreach ($object->fields as $key => $val) {
|
||||
}
|
||||
|
||||
if (empty($action) && empty($id) && empty($ref)) {
|
||||
$action = 'view';
|
||||
$action = 'create';
|
||||
}
|
||||
|
||||
// Load object
|
||||
|
||||
Loading…
Reference in New Issue
Block a user