Merge pull request #216 from GPCsolutions/82af0ed28f223d1324c8843abb106c8ee6af9a4b

Fixed a bug preventing invoice sorting by authors
This commit is contained in:
Laurent Destailleur 2012-05-31 17:57:40 -07:00
commit 2b85a2fcd4

View File

@ -3263,7 +3263,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'])
{