mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-10 16:58:34 +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']]);
|
||||
|
||||
if ($_SESSION["auth_roles"] != 0) {
|
||||
$clid = $result[0]['registrar_id'];
|
||||
$clid = $result['registrar_id'];
|
||||
} else {
|
||||
$clid = $registrar_id;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue