Skip to content

Commit

Permalink
Fix entity
Browse files Browse the repository at this point in the history
Fix entity in list.php
  • Loading branch information
ptibogxiv committed Nov 19, 2017
1 parent a6e4e4d commit 3f36060
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 1 = 1";
$sql.= " ON p.rowid = d.fk_projet WHERE d.entity = ".$conf->entity."";
if ($statut != '' && $statut != '-1')
{
$sql .= " AND d.fk_statut IN (".$db->escape($statut).")";
Expand Down

0 comments on commit 3f36060

Please sign in to comment.