Browse Source

Fix phpcs

Laurent Destailleur 9 years ago
parent
commit
3d72f788b9
1 changed files with 3 additions and 2 deletions
  1. 3 2
      htdocs/core/modules/mailings/advthirdparties.modules.php

+ 3 - 2
htdocs/core/modules/mailings/advthirdparties.modules.php

@@ -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;