From b6ebdf9439a7c1a2ce6a6853e7f080cc324c5251 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 13 Apr 2003 14:40:10 +0000 Subject: [PATCH] =?UTF-8?q?Rends=20les=20parametres=20de=20conf=20d=E9fini?= =?UTF-8?q?t=20dans=20cette=20page=20invisible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/facture.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php index f047a9f08a6..f10d3c5e77b 100644 --- a/htdocs/admin/facture.php +++ b/htdocs/admin/facture.php @@ -40,7 +40,7 @@ $facture_addon_var_pdf = FACTURE_ADDON_PDF; if ($action == 'set') { - $sql = "REPLACE INTO llx_const SET name = 'FACTURE_ADDON', value='".$value."'"; + $sql = "REPLACE INTO llx_const SET name = 'FACTURE_ADDON', value='".$value."', visible=0"; if ($db->query($sql)) { @@ -52,7 +52,7 @@ if ($action == 'set') if ($action == 'setpdf') { - $sql = "REPLACE INTO llx_const SET name = 'FACTURE_ADDON_PDF', value='".$value."'"; + $sql = "REPLACE INTO llx_const SET name = 'FACTURE_ADDON_PDF', value='".$value."', visible=0"; if ($db->query($sql)) {