From c9b118340dc594a00a759485b64bf1601affd05e Mon Sep 17 00:00:00 2001 From: Tiavina Date: Mon, 30 Dec 2024 08:28:32 +0300 Subject: [PATCH] hot fixes ajax get produits --- gestion/lib/Db/Bdd.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gestion/lib/Db/Bdd.php b/gestion/lib/Db/Bdd.php index a87decf..57f211b 100644 --- a/gestion/lib/Db/Bdd.php +++ b/gestion/lib/Db/Bdd.php @@ -379,8 +379,7 @@ class Bdd { } public function getProduits($idNextcloud){ - $sql = "SELECT * FROM ".$this->tableprefix."produit - WHERE $this->tableprefix.produit.id"; + $sql = "SELECT * FROM ".$this->tableprefix."produit;"; return $this->execSQL($sql, array()); }