summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-12-13 13:52:40 +0000
committerDries Buytaert <dries@buytaert.net>2008-12-13 13:52:40 +0000
commitfee3ce30201301607407c28cdb07e714b02e7d8e (patch)
tree0ee639cd49cf728df038d891d5e0737a3f5d0b30 /modules
parent4c5221a9397d618240f5f168e1110d3e1da9c845 (diff)
downloadbrdo-fee3ce30201301607407c28cdb07e714b02e7d8e.tar.gz
brdo-fee3ce30201301607407c28cdb07e714b02e7d8e.tar.bz2
- Patch #229051 by Josh Waihi: made top visitor page work on PostgreSQL.
Diffstat (limited to 'modules')
-rw-r--r--modules/statistics/statistics.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index 6b9d8eb4c..dfb98bda2 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -73,7 +73,7 @@ function statistics_exit() {
'hostname' => ip_address(),
'uid' => $user->uid,
'sid' => session_id(),
- 'timer' => timer_read('page'),
+ 'timer' => (int) timer_read('page'),
'timestamp' => REQUEST_TIME,
))->execute();
}