From 4840fa5b34de0bcd901ae4f09647543aa8279e92 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Tue, 19 Oct 2010 10:18:59 +0000 Subject: [PATCH] better check, thanks to timbalu --- .../serendipity_event_statistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/serendipity_event_statistics/serendipity_event_statistics.php b/plugins/serendipity_event_statistics/serendipity_event_statistics.php index add88862..0f8e39b7 100644 --- a/plugins/serendipity_event_statistics/serendipity_event_statistics.php +++ b/plugins/serendipity_event_statistics/serendipity_event_statistics.php @@ -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(); }