From 8b6081517345eaae1c5a219a46e62742f4059c45 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 3 Apr 2006 11:00:29 +0000 Subject: [PATCH] Fix querying wrong column, thanks to Hurricane (#1462845) --- .../serendipity_event_statistics.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/serendipity_event_statistics/serendipity_event_statistics.php b/plugins/serendipity_event_statistics/serendipity_event_statistics.php index 7740cd7..2534b1a 100644 --- a/plugins/serendipity_event_statistics/serendipity_event_statistics.php +++ b/plugins/serendipity_event_statistics/serendipity_event_statistics.php @@ -20,7 +20,7 @@ class serendipity_event_statistics extends serendipity_event $propbag->add('description', PLUGIN_EVENT_STATISTICS_DESC); $propbag->add('stackable', false); $propbag->add('author', 'Arnan de Gans, Garvin Hicking, Fredrik Sandberg'); - $propbag->add('version', '1.40'); + $propbag->add('version', '1.41'); $propbag->add('requirements', array( 'serendipity' => '0.8', 'smarty' => '2.6.7', @@ -106,7 +106,7 @@ class serendipity_event_statistics extends serendipity_event } //checking if db tables exists, otherwise install them - $tableChecker = serendipity_db_query("SELECT counter_id FROM {$serendipity['dbPrefix']}visitors_count LIMIT 1", true); + $tableChecker = serendipity_db_query("SELECT counter_id FROM {$serendipity['dbPrefix']}visitors LIMIT 1", true); if (!is_array($tableChecker)) { $this->createTables(); } -- 2.39.5