diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php index 53d3d55d15f51d945c098deab4e150053a9ea8fc..97b7816a61025fe5016f5d25696626b1a3db33db 100644 --- a/htdocs/comm/mailing/cibles.php +++ b/htdocs/comm/mailing/cibles.php @@ -194,7 +194,8 @@ if ($mil->fetch($_REQUEST["id"]) >= 0) { if (substr($file, 0, 1) <> '.' && substr($file, 0, 3) <> 'CVS') { - if (eregi("(.*)\.(.*)\.(.*)",$file,$reg)) { + if (eregi("(.*)\.modules\.php$",$file,$reg)) + { $modulename=$reg[1]; if ($modulename == 'example') continue;