Skip to content

Commit

Permalink
Fixed a bug preventing invoice sorting by authors
Browse files Browse the repository at this point in the history
  • Loading branch information
rdoursenaud committed May 25, 2012
1 parent ffaadcc commit 82af0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/facture.php
Expand Up @@ -3262,7 +3262,7 @@
if ($userid)
{
if ($userid == -1) $sql.=' AND f.fk_user_author IS NULL';
else $sql.=' AND f.fk_user_author = '.$user->id;
else $sql.=' AND f.fk_user_author = '.$userid;
}
if ($_GET['filtre'])
{
Expand Down

0 comments on commit 82af0ed

Please sign in to comment.