mirror of
https://github.com/getnamingo/registry.git
synced 2025-06-25 13:50:45 +02:00
Merge branch 'main' of https://github.com/getnamingo/registry
This commit is contained in:
commit
0eb4ee83da
1 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ class ContactsController extends Controller
|
|||
if ($invalid_identifier) {
|
||||
return view($response, 'admin/contacts/createContact.twig', [
|
||||
'contactID' => $contactID,
|
||||
'error' => 'Invalid contact ID',
|
||||
'error' => $invalid_identifier,
|
||||
'registrars' => $registrars,
|
||||
'countries' => $countries,
|
||||
'registrar' => $registrar,
|
||||
|
@ -701,7 +701,7 @@ class ContactsController extends Controller
|
|||
// Validation for contact ID
|
||||
$invalid_identifier = validate_identifier($identifier);
|
||||
if ($invalid_identifier) {
|
||||
$this->container->get('flash')->addMessage('error', 'Invalid contact ID');
|
||||
$this->container->get('flash')->addMessage('error', $invalid_identifier);
|
||||
return $response->withHeader('Location', '/contacts')->withStatus(302);
|
||||
}
|
||||
|
||||
|
@ -1080,4 +1080,4 @@ class ContactsController extends Controller
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue