Skip to content
Snippets Groups Projects
Commit a32a02e4 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Removed warnings

parent d7c0cf3d
Branches
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment