better check, thanks to timbalu

This commit is contained in:
Garvin Hicking 2010-10-19 10:18:59 +00:00
parent b7dff39d5d
commit 1a8f5b15c8

View File

@ -105,7 +105,7 @@ class serendipity_event_statistics extends serendipity_event
$this->createTables();
}
if ($this->get_config('db_indices_created', 'false') !== '1') {
if ((int)$this->get_config('db_indices_created', '0') == 0) {
$this->updateTables();
}