fix hidden phpstan error (#26889)
This commit is contained in:
parent
046c89cfc7
commit
0f0d0e44fd
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ class mailing_contacts1 extends MailingTargets
|
|||
*/
|
||||
public function getNbOfRecipients($sql = '')
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$sql = "SELECT count(distinct(c.email)) as nb";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."socpeople as c";
|
||||
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON s.rowid = c.fk_soc";
|
||||
|
|
|
|||
Loading…
Reference in a new issue