fix missing format in supports

This commit is contained in:
Julien Fastré 2018-08-29 16:27:03 +02:00
parent e00ef510f7
commit a2ec376c61

View File

@ -209,7 +209,7 @@ class SearchProvider
$terms = $this->parse($pattern);
$search = $this->getByName($name);
if ($terms['_domain'] !== NULL && !$search->supports($terms['_domain']))
if ($terms['_domain'] !== NULL && !$search->supports($terms['_domain'], $format))
{
throw new ParsingException("The domain is not supported for the search name");
}