Skip to content

Commit

Permalink
Update list.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ptibogxiv committed Nov 19, 2017
1 parent 3f36060 commit 5d6555b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/don/list.php
Expand Up @@ -89,7 +89,7 @@
$sql.= " d.amount, d.fk_statut as statut, ";
$sql.= " p.rowid as pid, p.ref, p.title, p.public";
$sql.= " FROM ".MAIN_DB_PREFIX."don as d LEFT JOIN ".MAIN_DB_PREFIX."projet AS p";
$sql.= " ON p.rowid = d.fk_projet WHERE d.entity = ".$conf->entity."";
$sql.= " ON p.rowid = d.fk_projet WHERE d.entity IN (".getEntity('donation').")";
if ($statut != '' && $statut != '-1')
{
$sql .= " AND d.fk_statut IN (".$db->escape($statut).")";
Expand Down

0 comments on commit 5d6555b

Please sign in to comment.