Skip to content
Snippets Groups Projects
Commit 880a27f8 authored by Raphaël Doursenaud's avatar Raphaël Doursenaud
Browse files

Fixed field name

parent 7ecafc2e
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ if ($mode == 'search')
if ($search_categ) $sql.= " AND s.rowid = cs.fk_societe"; // Join for the needed table to filter by categ
if (! $user->rights->societe->lire || ! $user->rights->fournisseur->lire)
{
if (! $user->rights->fournisseur->lire) $sql.=" AND s.fourn != 1";
if (! $user->rights->fournisseur->lire) $sql.=" AND s.fournisseur != 1";
}
// Insert sale filter
if ($search_sale)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment