From 624e588b6a14fdaadea054852121175adb61cc5a Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Mon, 29 Sep 2025 10:59:30 -0300 Subject: [PATCH] =?UTF-8?q?Ajuste,=20aplicando=20filtro=20de=20consulta=20?= =?UTF-8?q?por=20conter=20NF=20no=20relat=C3=B3rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/action/users/users_access.php | 2 +- vendor/model/Users.class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/action/users/users_access.php b/vendor/action/users/users_access.php index fa9a9ce..19a8869 100644 --- a/vendor/action/users/users_access.php +++ b/vendor/action/users/users_access.php @@ -66,7 +66,7 @@ try{ $_SESSION['USERSID'] = (int)$UsersResult->user_id; $_SESSION['USERSACLID'] = (int)$UsersResult->users_acl_id; $_SESSION['USERSEMAIL'] = (string)$UsersResult->email; - $_SESSION['USERSNAMEFIRST'] = $Main->decryptData((string)$UsersResult->name_first); + $_SESSION['USERSNAMEFIRST'] = (string)$UsersResult->nickname; $_SESSION['USERSACCESSFIRST'] = (string)$UsersResult->access_first; $_SESSION['USERSACCESSLAST'] = (string)$UsersResult->access_last; diff --git a/vendor/model/Users.class.php b/vendor/model/Users.class.php index 89220ef..e39b8d2 100644 --- a/vendor/model/Users.class.php +++ b/vendor/model/Users.class.php @@ -254,8 +254,8 @@ class Users /** Consulta SQL */ $this->sql = 'select u.user_id, u.company_id, - u.name_first, - u.name_last, + u.nickname, + u.name, u.email, u.password, u.active,