From 0a119b0b688d4bf78ce8af71e585abbbcf88de92 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 22 Aug 2005 02:26:16 +0000 Subject: [PATCH] r361: Need space between the WHERE --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index fdec8da..e8daf65 100644 --- a/index.php +++ b/index.php @@ -32,7 +32,7 @@ if (!can_perform('canviewbugs')) // ################################################################### $pagination = new Pagination('p', 'pp'); -$count = $db->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "bug" . (!can_perform('canviewhidden') ? "WHERE !hidden" : "")); +$count = $db->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "bug" . (!can_perform('canviewhidden') ? " WHERE !hidden" : "")); $pagination->total = $count['count']; $pagination->split_pages(); -- 2.22.5