From 7eb2cdef3d6a7df0cd72d0d4dd5d40912251ab2f Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 4 May 2009 06:04:46 +0000 Subject: [PATCH] Fix: bug affichage code barre --- htdocs/admin/barcode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/barcode.php b/htdocs/admin/barcode.php index 3939e3209e4..c242f727db2 100644 --- a/htdocs/admin/barcode.php +++ b/htdocs/admin/barcode.php @@ -1,7 +1,7 @@ * Copyright (C) 2004-2009 Laurent Destailleur - * Copyright (C) 2005-2008 Regis Houssin + * Copyright (C) 2005-2009 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 @@ -96,7 +96,7 @@ foreach ($conf->dol_document_root as $dirroot) { if (is_readable($dir.$file)) { - if (eregi('(.*)\.modules\.php',$file,$reg)) + if (eregi('(.*)\.modules\.php$',$file,$reg)) { $filebis=$reg[1];