From 30499123f193bbc50d240337783f48851636839b Mon Sep 17 00:00:00 2001 From: wrongecho Date: Fri, 9 Jan 2026 13:50:46 +0000 Subject: [PATCH] Bugfix: Portal not showing contact user id in session --- client/profile.php | 4 ++-- login.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/profile.php b/client/profile.php index 6209fed5..fae47819 100644 --- a/client/profile.php +++ b/client/profile.php @@ -20,9 +20,9 @@ require_once 'includes/inc_all.php';

Client Primary Contact:

Client Technical Contact:

Client Billing Contact:

- - +

Login via:

+

User ID:

diff --git a/login.php b/login.php index 50f6ea73..039faa0d 100644 --- a/login.php +++ b/login.php @@ -524,6 +524,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && (isset($_POST['login']) || isset($_ "; } else { + $user_id = intval($selectedRow['contact_user_id']); $client_id = intval($selectedRow['contact_client_id']); $contact_id = intval($selectedRow['contact_id']); $user_auth_method = sanitizeInput($selectedRow['user_auth_method']);