civicrm/civicrm-core — pull request #4296 by mrpaulc (2014-10-02 10:59:17+00:00)
Title: CRM-14751, deleted contacts visible in search

Fix for bug introduced in 10687 - the where clause doesn't include required ACL SQL from earlier in the script.
----------------------------------------
* CRM-14751: Deleted Contacts Visible
https://issues.civicrm.org/jira/browse/CRM-14751