diff --git stats/boost_stats.php stats/boost_stats.php
index 5ade114..0b9154e 100644
--- stats/boost_stats.php
+++ stats/boost_stats.php
@@ -92,7 +92,6 @@ function boost_stats_init() {
   $nid = (isset($_GET['nid']) && is_numeric($_GET['nid'])) ? $_GET['nid'] : NULL;
   $title = (isset($_GET['title']) && $_GET['title'] != 'NULL') ? urldecode($_GET['title']) : NULL;
   $q = (isset($_GET['qq']) && $_GET['qq'] != 'NULL') ? $_GET['qq'] : NULL;
-  $q = (isset($_GET['q']) && $_GET['q'] != 'NULL') ? $_GET['q'] : NULL;
   $referer = isset($_GET['referer']) ? $_GET['referer'] : NULL;
 
   // $session_id only goes in the access log; only used for stats, not creds.
@@ -177,4 +176,4 @@ function boost_stats_full_boot() {
 function boost_stats_variable_get($name) {
   Global $variables;
   return isset($variables[$name]) ? $variables[$name] : FALSE;
-}
\ No newline at end of file
+}
