diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php index 53d3d55d15f..97b7816a610 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;