Skip to content

Commit

Permalink
suppression d'une variable inexistante
Browse files Browse the repository at this point in the history
La variable `$champs` n'existe pas et ne sert donc à rien : https://3v4l.org/gkHaB
  • Loading branch information
Mopolo committed Apr 28, 2023
1 parent 0d2df60 commit 64ec47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/Afup/Utils/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function obtenirEmails($blacklist = false)
{
$blacklist_sql = $blacklist ? '1' : '0';
$requete = 'SELECT';
$requete .= ' ' . $champs;
$requete .= ' ';
$requete .= 'FROM';
$requete .= ' afup_email ';
$requete .= 'WHERE blacklist = ' . $blacklist_sql;
Expand Down

0 comments on commit 64ec47f

Please sign in to comment.