mirror of
https://github.com/getnamingo/registry.git
synced 2025-06-26 06:04:45 +02:00
Fix
This commit is contained in:
parent
48e35409b3
commit
840a04f701
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class HostsController extends Controller
|
||||||
$result = $db->selectRow('SELECT registrar_id FROM registrar_users WHERE user_id = ?', [$_SESSION['auth_user_id']]);
|
$result = $db->selectRow('SELECT registrar_id FROM registrar_users WHERE user_id = ?', [$_SESSION['auth_user_id']]);
|
||||||
|
|
||||||
if ($_SESSION["auth_roles"] != 0) {
|
if ($_SESSION["auth_roles"] != 0) {
|
||||||
$clid = $result[0]['registrar_id'];
|
$clid = $result['registrar_id'];
|
||||||
} else {
|
} else {
|
||||||
$clid = $registrar_id;
|
$clid = $registrar_id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue