diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php
index 95bb905348f..5530d95cd06 100644
--- a/htdocs/comm/mailing/cibles.php
+++ b/htdocs/comm/mailing/cibles.php
@@ -307,7 +307,7 @@ if ($object->fetch($id) >= 0)
print $modulename;
print "";
*/
- $nbofrecipient=$obj->getNbOfRecipients();
+ $nbofrecipient=$obj->getNbOfRecipients('');
print '
';
if ($nbofrecipient >= 0)
{
diff --git a/htdocs/core/modules/mailings/pomme.modules.php b/htdocs/core/modules/mailings/pomme.modules.php
index 6e645b3581c..30c7c63da60 100644
--- a/htdocs/core/modules/mailings/pomme.modules.php
+++ b/htdocs/core/modules/mailings/pomme.modules.php
@@ -82,7 +82,7 @@ class mailing_pomme extends MailingTargets
* For example if this selector is used to extract 500 different
* emails from a text file, this function must return 500.
*
- * @param string $sql Requete sql de comptage
+ * @param string $sql SQL request to use to count
* @return int Number of recipients
*/
function getNbOfRecipients($sql='')
diff --git a/htdocs/core/modules/mailings/thirdparties_services_expired.modules.php b/htdocs/core/modules/mailings/thirdparties_services_expired.modules.php
index 4b621b705a2..665e5f51f7b 100755
--- a/htdocs/core/modules/mailings/thirdparties_services_expired.modules.php
+++ b/htdocs/core/modules/mailings/thirdparties_services_expired.modules.php
@@ -175,11 +175,10 @@ class mailing_thirdparties_services_expired extends MailingTargets
* For example if this selector is used to extract 500 different
* emails from a text file, this function must return 500.
*
- * @param int $filter Filter
- * @param string $option Option
+ * @param string $sql SQL request to use to count
* @return int Number of recipients
*/
- function getNbOfRecipients($sql,$filter=1,$option='')
+ function getNbOfRecipients($sql)
{
$now=dol_now();
|