Fixed use of deprecated data field
This commit is contained in:
parent
86dab44c98
commit
ea442d9351
@ -99,7 +99,7 @@ if ($mode == 'search')
|
|||||||
if ($search_categ) $sql.= " AND s.rowid = cs.fk_societe"; // Join for the needed table to filter by categ
|
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->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
|
// Insert sale filter
|
||||||
if ($search_sale)
|
if ($search_sale)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user