diff --git a/code/extractors/SolrCellTextExtractor.php b/code/extractors/SolrCellTextExtractor.php index 730ab47..29d26f9 100644 --- a/code/extractors/SolrCellTextExtractor.php +++ b/code/extractors/SolrCellTextExtractor.php @@ -39,7 +39,7 @@ class SolrCellTextExtractor extends FileTextExtractor { public function isAvailable() { $url = $this->config()->get('base_url'); - if(!$url) return false; + return (boolean) $url; } public function supportsExtension($extension) {