Force $action = 'create' when there's errors
This commit is contained in:
parent
8f196c1214
commit
2403f448cb
@ -299,6 +299,7 @@ if (empty($reshook)) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
setEventMessages($object->error, $object->errors, 'errors');
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
|
$action = 'create';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user