Debug
This commit is contained in:
parent
9c080e238a
commit
f7ebd661e7
1 changed files with 3 additions and 3 deletions
6
vendor/model/FinancialCategories.class.php
vendored
6
vendor/model/FinancialCategories.class.php
vendored
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue