f
This commit is contained in:
parent
d4a3ca4360
commit
e097a2074d
@ -70,6 +70,8 @@ Class Ciblage
|
|||||||
{
|
{
|
||||||
$this->sphinx->SetFilter('presentrcs', array(0));
|
$this->sphinx->SetFilter('presentrcs', array(0));
|
||||||
$resSphinx = $this->sphinx->Query($this->alpha, $this->index);
|
$resSphinx = $this->sphinx->Query($this->alpha, $this->index);
|
||||||
|
if(empty($resSphinx['total_found']))
|
||||||
|
return (0);
|
||||||
return ($resSphinx['total_found']);
|
return ($resSphinx['total_found']);
|
||||||
}
|
}
|
||||||
protected function getSiret($structure)
|
protected function getSiret($structure)
|
||||||
|
Loading…
Reference in New Issue
Block a user