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