add a return to the error path for new events
This commit is contained in:
parent
8501ddf0ee
commit
ebaf5a972e
|
@ -233,6 +233,7 @@ class NeweventAction extends Action
|
|||
} catch (ClientException $ce) {
|
||||
if ($this->boolean('ajax')) {
|
||||
$this->outputAjaxError($ce->getMessage());
|
||||
return;
|
||||
} else {
|
||||
$this->error = $ce->getMessage();
|
||||
$this->showPage();
|
||||
|
|
Loading…
Reference in New Issue
Block a user