mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix hidden phpstan error (#26889)
This commit is contained in:
parent
046c89cfc7
commit
0f0d0e44fd
|
|
@ -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 New Issue
Block a user