From 856b6e1f408a0c5d8f8865f6b80a629e2f99948c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 10 Jul 2010 01:44:28 +0000 Subject: - Patch #844892 by andypost: minor code style fixes. --- modules/statistics/statistics.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/statistics/statistics.module') diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 859ca1e4e..db54ab49c 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -60,7 +60,7 @@ function statistics_exit() { if (variable_get('statistics_count_content_views', 0)) { // We are counting content views. - if ((arg(0) == 'node') && is_numeric(arg(1)) && arg(2) == '') { + if (arg(0) == 'node' && is_numeric(arg(1)) && arg(2) == NULL) { // A node has been viewed, so update the node's counters. db_merge('node_counter') ->key(array('nid' => arg(1))) -- cgit v1.2.3