civicrm/civicrm-core — pull request #1766 by pratik-joshi (2013-10-09 11:05:43+00:00)
Title: CRM-13551

Fix for both the points mentioned in issue.

Also includes a code improvement which consists of removal of old column source_contact_id dao code(dropped in 4.4) and replacing it with proper value.