Fix: Removed warnings
This commit is contained in:
parent
d7c0cf3d50
commit
a32a02e4c1
@ -307,7 +307,7 @@ if ($object->fetch($id) >= 0)
|
||||
print $modulename;
|
||||
print "</td>";
|
||||
*/
|
||||
$nbofrecipient=$obj->getNbOfRecipients();
|
||||
$nbofrecipient=$obj->getNbOfRecipients('');
|
||||
print '<td align="center">';
|
||||
if ($nbofrecipient >= 0)
|
||||
{
|
||||
|
||||
@ -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='')
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user