sugarcrm/sugarcrm_dev — pull request #169 by eldap82 (2013-04-23 13:07:27+00:00)
Title: Ambigous id field in function getDuplicateQuery

$focus->add_team_security_where_clause($query); lead the query to fail because field id is ambigous as it's contained in both teams and leads tables.