2
0
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:
Adam Zammit
2015-08-18 16:31:14 +10:00
parent 13155fa7db
commit 6be4a2d1c9
3 changed files with 5 additions and 5 deletions

View File

@@ -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);