mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
Merge pull request #116 from sminnee/fix-first-dev-build
FIX: Fix initial dev/build on PDO Database.
This commit is contained in:
commit
cdd06fc375
@ -22,7 +22,7 @@ class SearchUpdater extends Object
|
||||
global $databaseConfig;
|
||||
|
||||
$current = DB::getConn();
|
||||
if (!$current || @$current->isManipulationCapture) {
|
||||
if (!$current || !$current->currentDatabase() || @$current->isManipulationCapture) {
|
||||
return;
|
||||
} // If not yet set, or its already captured, just return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user