|
@@ -200,9 +200,10 @@ class mailing_advthirdparties extends MailingTargets
|
|
|
* For example if this selector is used to extract 500 different
|
|
|
* emails from a text file, this function must return 500.
|
|
|
*
|
|
|
- * @return int Nb of recipients
|
|
|
+ * @param string $sql Sql request to use
|
|
|
+ * @return int Nb of recipients
|
|
|
*/
|
|
|
- function getNbOfRecipients($sql)
|
|
|
+ function getNbOfRecipients($sql='')
|
|
|
{
|
|
|
global $conf;
|
|
|
|