Commit 31073543 authored by zhuwei's avatar zhuwei

bug

parent 073229af
...@@ -33,7 +33,7 @@ class UserAgentService ...@@ -33,7 +33,7 @@ class UserAgentService
*/ */
public function addUserAgent($agent_id,$user_id,$site_id) public function addUserAgent($agent_id,$user_id,$site_id)
{ {
$user_agent_info = $this->findUserAgent($site_id,$agent_id,$user_id); $user_agent_info = $this->findUserAgent($site_id,0,$user_id);
if($user_agent_info){ if($user_agent_info){
return false; return false;
} }
......
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