From 7e045d9ffeaa878029799acca0e40706a77e6e5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Tue, 16 Apr 2024 15:31:04 +0200 Subject: [PATCH] CIM68 - Add email to Profile API --- api/v1/get/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/get/profile.php b/api/v1/get/profile.php index 15e315e..f4a9e6c 100644 --- a/api/v1/get/profile.php +++ b/api/v1/get/profile.php @@ -68,7 +68,7 @@ if(isset($criterias['totals']) && $criterias['totals'] ==''){ } else { //SQL for Paging - $sql = 'SELECT id,username,salesID, partnerhierarchy, view, created, service, settings, lastlogin, userkey, language FROM users '.$whereclause.' ORDER BY id LIMIT :page,:num_products'; + $sql = 'SELECT id,username,email,salesID, partnerhierarchy, view, created, service, settings, lastlogin, userkey, language, login_count FROM users '.$whereclause.' ORDER BY id LIMIT :page,:num_products'; } $stmt = $pdo->prepare($sql);