MDL-16979 - protects update queries by setting a real value in $CFG->search_indexer_update_date

This commit is contained in:
diml 2009-05-11 19:59:58 +00:00
parent a2669a1866
commit 4bce399460

View file

@ -56,7 +56,7 @@
}
$dbcontrol = new IndexDBControl();
$update_count = 0;
$indexdate = @$CFG->search_indexer_update_date;
$indexdate = 0 + @$CFG->search_indexer_update_date;
$startupdatedate = time();
/// indexing changed resources