Skip to content

Commit

Permalink
Update facturestats.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentPoinsaut authored Nov 25, 2024
1 parent c7f66d3 commit ee7d5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/facture/class/facturestats.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function __construct(DoliDB $db, $socid, $mode, $userid = 0, $typentid =
}

if ($categid) {
$this->where .= ' AND EXISTS (SELECT fk_categorie FROM '.MAIN_DB_PREFIX.'categorie_societe as cats WHERE cats.fk_soc = f.fk_soc AND cats.fk_categorie = '.((int) $categid).')';
$this->where .= ' AND EXISTS (SELECT cats.fk_categorie FROM '.MAIN_DB_PREFIX.'categorie_societe as cats WHERE cats.fk_soc = f.fk_soc AND cats.fk_categorie = '.((int) $categid).')';
}
}

Expand Down

0 comments on commit ee7d5f8

Please sign in to comment.