Atualizando class FinanacialCategories.class.php

This commit is contained in:
Kenio 2025-08-02 09:25:46 -03:00
parent 6652909693
commit 4ea0934934

View file

@ -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();