Fixed a bug preventing invoice sorting by authors
This commit is contained in:
parent
ffaadcc930
commit
82af0ed28f
@ -3262,7 +3262,7 @@ else
|
||||
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'])
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user