Fix entity
This commit is contained in:
parent
46fe19bed5
commit
07d5bd143a
@ -1351,7 +1351,7 @@ class Societe extends CommonObject
|
|||||||
|
|
||||||
// Generation requete recherche
|
// Generation requete recherche
|
||||||
$sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."societe";
|
$sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."societe";
|
||||||
$sql.= " WHERE entity IN (".getEntity('category').")";
|
$sql.= " WHERE entity IN (".getEntity('societe').")";
|
||||||
if (! empty($type))
|
if (! empty($type))
|
||||||
{
|
{
|
||||||
if ($type == 1 || $type == 2)
|
if ($type == 1 || $type == 2)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user