Skip to content

Commit

Permalink
Fix entity
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 31, 2018
1 parent 46fe19b commit 07d5bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/societe/class/societe.class.php
Expand Up @@ -1351,7 +1351,7 @@ function searchByName($name, $type='0', $filters = array(), $exact = false, $cas

// Generation requete recherche
$sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."societe";
$sql.= " WHERE entity IN (".getEntity('category').")";
$sql.= " WHERE entity IN (".getEntity('societe').")";
if (! empty($type))
{
if ($type == 1 || $type == 2)
Expand Down

0 comments on commit 07d5bd1

Please sign in to comment.