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