mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
FIX Dont error out if bind_manipulation_capture called to early
This commit is contained in:
parent
be507824d0
commit
b2152b4c5e
@ -47,7 +47,7 @@ class SearchUpdater extends Object {
|
||||
global $databaseConfig;
|
||||
|
||||
$connector = DB::getConn();
|
||||
if (@$connector->isManipulationCapture) return; // If its already captured, just return
|
||||
if (!$connector || @$connector->isManipulationCapture) return; // If not yet set, or its already captured, just return
|
||||
|
||||
$type = $databaseConfig['type'];
|
||||
$file = TEMP_FOLDER."/.cache.SMC.$type";
|
||||
|
Loading…
Reference in New Issue
Block a user