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];