diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-12-13 13:52:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-12-13 13:52:40 +0000 |
commit | fee3ce30201301607407c28cdb07e714b02e7d8e (patch) | |
tree | 0ee639cd49cf728df038d891d5e0737a3f5d0b30 /modules | |
parent | 4c5221a9397d618240f5f168e1110d3e1da9c845 (diff) | |
download | brdo-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.module | 2 |
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(); } |