From af7beb0544edf842e7668de6582ed5d966ec762c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 29 Mar 2006 16:15:48 +0000 Subject: [PATCH] =?UTF-8?q?d=E9but=20ajout=20possibilit=E9=20de=20d=E9term?= =?UTF-8?q?iner=20si=20le=20contenu=20d'une=20cat=E9gorie=20sera=20visible?= =?UTF-8?q?=20ou=20=20non=20dans=20la=20liste=20des=20produits/services,?= =?UTF-8?q?=20ceci=20afin=20de=20pouvoir=20cacher=20les=20sous-produits=20?= =?UTF-8?q?=20par=20exemple.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/categories/categorie.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/categories/categorie.class.php b/htdocs/categories/categorie.class.php index e51009511cd..885b8708e3d 100644 --- a/htdocs/categories/categorie.class.php +++ b/htdocs/categories/categorie.class.php @@ -54,7 +54,7 @@ class Categorie */ function fetch($id) { - $sql = "SELECT rowid, label, description, fk_statut"; + $sql = "SELECT rowid, label, description, visible"; $sql.= " FROM ".MAIN_DB_PREFIX."categorie WHERE rowid = ".$id; $resql = $this->db->query ($sql); @@ -66,7 +66,7 @@ class Categorie $this->id = $res['rowid']; $this->label = $res['label']; $this->description = stripslashes($res['description']); - $this->statut = $res['fk_statut']; + $this->visible = $res['visible']; $this->db->free($resql); }