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) {
|
} catch (ClientException $ce) {
|
||||||
if ($this->boolean('ajax')) {
|
if ($this->boolean('ajax')) {
|
||||||
$this->outputAjaxError($ce->getMessage());
|
$this->outputAjaxError($ce->getMessage());
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
$this->error = $ce->getMessage();
|
$this->error = $ce->getMessage();
|
||||||
$this->showPage();
|
$this->showPage();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user