From a32573b2af3515711737e79a028de7872800f5d8 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 4 Jan 2008 00:04:33 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20on=20recherche=20une=20chaine=20de=20car?= =?UTF-8?q?actere=20diff=E9rente=20de=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/barcode.php | 2 +- htdocs/admin/produit.php | 2 +- htdocs/includes/barcode/html.formbarcode.class.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/admin/barcode.php b/htdocs/admin/barcode.php index 4f2d3bdd1ad..e356e15a5e9 100644 --- a/htdocs/admin/barcode.php +++ b/htdocs/admin/barcode.php @@ -1,7 +1,7 @@ * Copyright (C) 2004-2008 Laurent Destailleur - * Copyright (C) 2005-2007 Regis Houssin + * Copyright (C) 2005-2008 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/htdocs/admin/produit.php b/htdocs/admin/produit.php index 03e55519108..7b4cc5f3555 100644 --- a/htdocs/admin/produit.php +++ b/htdocs/admin/produit.php @@ -3,7 +3,7 @@ * Copyright (C) 2006 Andre Cianfarani * Copyright (C) 2006-2007 Rodolphe Quiedeville * Copyright (C) 2007 Auguria SARL - * Copyright (C) 2005-2007 Regis Houssin + * Copyright (C) 2005-2008 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/htdocs/includes/barcode/html.formbarcode.class.php b/htdocs/includes/barcode/html.formbarcode.class.php index 6cad9fcd715..dd39b3c7ba1 100644 --- a/htdocs/includes/barcode/html.formbarcode.class.php +++ b/htdocs/includes/barcode/html.formbarcode.class.php @@ -1,6 +1,6 @@ - * Copyright (C) 2008 Laurent Destailleur +/* Copyright (C) 2007-2008 Regis Houssin + * Copyright (C) 2008 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -94,7 +94,7 @@ class FormBarCode $sql = "SELECT rowid, code, libelle"; $sql.= " FROM ".MAIN_DB_PREFIX."c_barcode_type"; - $sql.= " WHERE coder > 0"; + $sql.= " WHERE coder <> '0'"; $sql.= " ORDER BY rowid"; $result = $this->db->query($sql); if ($result)