mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 12:05:29 +00:00
Use strict comparison
This commit is contained in:
parent
ea91cf5a3c
commit
cf784f5c0a
@ -94,7 +94,7 @@ class Solr_Configure extends Solr_BuildTask
|
||||
if ($mode === 'webdav') {
|
||||
return new SolrConfigStore_WebDAV($indexstore);
|
||||
}
|
||||
if ($mode == 'post') {
|
||||
if ($mode === 'post') {
|
||||
return new SolrConfigStore_Post($indexstore);
|
||||
}
|
||||
if (ClassInfo::exists($mode) && ClassInfo::classImplements($mode, SolrConfigStore::class)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user