mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-10-22 11:06:00 +02:00
Merge pull request #33 from alwex/master
fixed the version comparison for tika server text extractor
This commit is contained in:
commit
1b89000fcd
@ -72,7 +72,7 @@ class TikaServerTextExtractor extends FileTextExtractor
|
||||
{
|
||||
return $this->getServerEndpoint() &&
|
||||
$this->getClient()->isAvailable() &&
|
||||
$this->getVersion() >= 1.7;
|
||||
version_compare($this->getVersion(), '1.7.0') >= 0;
|
||||
}
|
||||
|
||||
public function supportsExtension($extension)
|
||||
|
Loading…
Reference in New Issue
Block a user