diff --git a/vendor/model/FinancialMovements.class.php b/vendor/model/FinancialMovements.class.php index 246b9bb..83c7250 100644 --- a/vendor/model/FinancialMovements.class.php +++ b/vendor/model/FinancialMovements.class.php @@ -1470,10 +1470,7 @@ class FinancialMovements ORDER BY fm.movement_date_scheduled ASC;'; /** Preparo o SQL para execução */ - $this->stmt = $this->connection->connect()->prepare($this->sql); - - /** Preencho os parâmetros do SQL */ - $this->stmt->bindParam(':financial_movements_id', $this->financialMovementsId); + $this->stmt = $this->connection->connect()->prepare($this->sql); /** Executo o SQL */ $this->stmt->execute(); @@ -1498,10 +1495,7 @@ class FinancialMovements ORDER BY fm.movement_date_scheduled ASC;'; /** Preparo o SQL para execução */ - $this->stmt = $this->connection->connect()->prepare($this->sql); - - /** Preencho os parâmetros do SQL */ - $this->stmt->bindParam(':financial_movements_id', $this->financialMovementsId); + $this->stmt = $this->connection->connect()->prepare($this->sql); /** Executo o SQL */ $this->stmt->execute();