Commit
This commit is contained in:
parent
5fcefa78ee
commit
de74589b88
@ -39,8 +39,8 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST')
|
||||
$team->setPhone($phone);
|
||||
$team->setParticipants($participants);
|
||||
$team->setRounds($rounds);
|
||||
} catch(Throwable $e) {
|
||||
$app->session->flash('Kunne ikke oppdatere lag: Validerings feil ' . $e->getMessage() , 'danger');
|
||||
} catch(InvalidArgumentException $e) {
|
||||
$app->session->flash('Kunne ikke oppdatere lag: Validerings feil: ' . $e->getMessage() , 'danger');
|
||||
$app->redirect('index.php');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user