diff options
Diffstat (limited to 'modules/statistics.module')
-rw-r--r-- | modules/statistics.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statistics.module b/modules/statistics.module index d54961873..76e24a3f3 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -363,7 +363,7 @@ function statistics_admin_accesslog_table($type, $id) { } else if ($type == 3) { /* retrieve recent access logs for hostname $id */ - $sql = "SELECT nid, url, hostname, uid, timestamp FROM {accesslog} WHERE hostname = ". check_query($id); + $sql = "SELECT nid, url, hostname, uid, timestamp FROM {accesslog} WHERE hostname = '". check_query($id) ."'"; } else { /* retrieve all recent access logs */ |