From f7ebd661e77df3bd8e9f0f59587358a49e0ce369 Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Fri, 1 Aug 2025 18:15:19 -0300 Subject: [PATCH] Debug --- vendor/model/FinancialCategories.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/model/FinancialCategories.class.php b/vendor/model/FinancialCategories.class.php index daf700c..9c6316f 100644 --- a/vendor/model/FinancialCategories.class.php +++ b/vendor/model/FinancialCategories.class.php @@ -208,13 +208,13 @@ class FinancialCategories /** Consulta SQL */ $this->sql = 'insert into financial_categories(company_id, - users_id, + user_id, description, active, type, reference ) values (:company_id, - :users_id, + :user_id, :description, :active, :type, @@ -224,7 +224,7 @@ class FinancialCategories $this->stmt = $this->connection->connect()->prepare($this->sql); /** Preencho os parâmetros do SQL */ - $this->stmt->bindParam('users_id', $_SESSION['USERSID']);/** Informa o usuário responsável pelo novo cliente cadastrado */ + $this->stmt->bindParam('user_id', $_SESSION['USERSID']);/** Informa o usuário responsável pelo novo cliente cadastrado */ $this->stmt->bindParam('company_id', $_SESSION['USERSCOMPANYID']);/** Informa a qual empresa pertence o cliente */ $this->stmt->bindParam('description', $this->description); $this->stmt->bindParam('active', $this->active);