Commit fee3ce30 authored by Dries's avatar Dries

- Patch #229051 by Josh Waihi: made top visitor page work on PostgreSQL.

parent 4c5221a9
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment