Merge pull request #116 from sminnee/fix-first-dev-build

FIX: Fix initial dev/build on PDO Database.
This commit is contained in:
Damian Mooyman 2016-05-12 15:57:09 +12:00
commit cdd06fc375

View File

@ -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