Atualizando financial_categories_datagrid.php

This commit is contained in:
Kenio 2025-08-18 14:17:04 -03:00
parent c18e89e329
commit 24c46fc962

View file

@ -150,8 +150,10 @@ class FinancialCategories
/** Verifica se alguma descrição foi informada */
if($this->description){
$this->description = '%'.$this->description.'%';
/** Preencho os parâmetros do SQL */
$this->stmt->bindParam(':description', '%'.$this->description.'%');
$this->stmt->bindParam(':description', $this->description);
}
@ -188,8 +190,10 @@ class FinancialCategories
/** Verifica se alguma descrição foi informada */
if($this->description){
$this->description = '%'.$this->description.'%';
/** Preencho os parâmetros do SQL */
$this->stmt->bindParam(':description', '%'.$this->description.'%');
$this->stmt->bindParam(':description', $this->description);
}