mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-28 16:29:55 +02:00
Small fix
This commit is contained in:
parent
184322e2d2
commit
e95f8689f5
1 changed files with 3 additions and 2 deletions
|
@ -1060,7 +1060,7 @@ class DomainsController extends Controller
|
|||
public function updateDomain(Request $request, Response $response, $args)
|
||||
{
|
||||
$db = $this->container->get('db');
|
||||
$registrars = $db->select("SELECT id, clid, name FROM registrar");
|
||||
$registrars_list = $db->select("SELECT id, clid, name FROM registrar");
|
||||
if ($_SESSION["auth_roles"] != 0) {
|
||||
$registrar = true;
|
||||
} else {
|
||||
|
@ -1141,7 +1141,8 @@ class DomainsController extends Controller
|
|||
'domainSecdns' => $domainSecdns,
|
||||
'domainHosts' => $domainHosts,
|
||||
'domainContacts' => $domainContacts,
|
||||
'registrar' => $registrars,
|
||||
'registrar' => $registrar,
|
||||
'registrars' => $registrars_list,
|
||||
'currentUri' => $uri,
|
||||
'countries' => $countries,
|
||||
'csrfTokenName' => $csrfTokenName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue