Atualizando class FinanacialCategories.class.php
This commit is contained in:
parent
6652909693
commit
4ea0934934
1 changed files with 2 additions and 8 deletions
10
vendor/model/FinancialCategories.class.php
vendored
10
vendor/model/FinancialCategories.class.php
vendored
|
|
@ -137,10 +137,7 @@ class FinancialCategories
|
|||
$this->sql = 'select * from financial_categories '. $this->limit;
|
||||
|
||||
/** Preparo o SQL para execução */
|
||||
$this->stmt = $this->connection->connect()->prepare($this->sql);
|
||||
|
||||
/** Preencho os parâmetros do SQL */
|
||||
$this->stmt->bindParam(':company_id', $_SESSION['USERSCOMPANYID']);
|
||||
$this->stmt = $this->connection->connect()->prepare($this->sql);
|
||||
|
||||
/** Executo o SQL */
|
||||
$this->stmt->execute();
|
||||
|
|
@ -158,10 +155,7 @@ class FinancialCategories
|
|||
from financial_categories';
|
||||
|
||||
/** Preparo o SQL para execução */
|
||||
$this->stmt = $this->connection->connect()->prepare($this->sql);
|
||||
|
||||
/** Preencho os parâmetros do SQL */
|
||||
$this->stmt->bindParam(':company_id', $_SESSION['USERSCOMPANYID']);
|
||||
$this->stmt = $this->connection->connect()->prepare($this->sql);
|
||||
|
||||
/** Executo o SQL */
|
||||
$this->stmt->execute();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue