mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Replace link with queXS to be "user" not loginID
This commit is contained in:
@@ -50,12 +50,12 @@ function get_client_id()
|
||||
{
|
||||
global $db;
|
||||
|
||||
if (!isset($_SESSION['loginID']))
|
||||
if (!isset($_SESSION['user']))
|
||||
return false;
|
||||
|
||||
$sql = "SELECT client_id
|
||||
FROM client
|
||||
WHERE username = '{$_SESSION['loginID']}'";
|
||||
WHERE username = '{$_SESSION['user']}'";
|
||||
|
||||
$o = $db->GetRow($sql);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user