This commit is contained in:
Damien LASSERRE 2012-04-12 14:26:33 +00:00
parent d4a3ca4360
commit e097a2074d

View File

@ -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)