Fix: not defined default value

This commit is contained in:
Laurent Destailleur 2013-05-23 10:04:35 +02:00
parent 7856b7f613
commit ee84457104

View File

@ -175,11 +175,9 @@ class mailing_thirdparties_services_expired extends MailingTargets
* For example if this selector is used to extract 500 different * For example if this selector is used to extract 500 different
* emails from a text file, this function must return 500. * emails from a text file, this function must return 500.
* *
* @param int $filter Filter
* @param string $option Option
* @return int Number of recipients * @return int Number of recipients
*/ */
function getNbOfRecipients($sql,$filter=1,$option='') function getNbOfRecipients($sql='')
{ {
$now=dol_now(); $now=dol_now();