Pass user_id field of the visitor to the client side

This commit is contained in:
Dmitriy Simushev 2013-08-06 13:45:20 +00:00
parent a0a17e6076
commit 2562abdf4b

View File

@ -443,6 +443,7 @@ class UsersProcessor extends ClientSideProcessor {
// Create resulting visitor structure
$visitors[] = array(
'id' => (int)$row['visitorid'],
'userId' => $row['userid'],
'userName' => $row['username'],
'userAgent' => $user_agent,
'userIp' => $user_ip,