fix typo in search error handling

Signed-off-by: Pavel Artsishevsky <polter.rnd@gmail.com>
This commit is contained in:
Pavel Artsishevsky
2022-05-24 10:33:32 +03:00
parent 7e4837fe8b
commit 233887012a
3 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ class bitSearch extends searchBase implements searchInterface
$this->searchUrl = $this->baseUrl;
$content = $this->getContent();
if ($this->hasErrors()) {
return tableData::create()->setEror($this->getErrors());
return tableData::create()->setError($this->getErrors());
}
$this->crawler->add($content);
$this->getItems()->addActionLinks();