civicrm/civicrm-core — pull request #1849 by pratik-joshi (2013-10-24 08:39:47+00:00)
Title: CRM-13638 : verified and applied patch, just a minor modification done

the minor modification in the patch consists removing of || ($context == 'search') condition as it negates !in_array($context, array('search', .....)) condition in same 'if' statement

----------------------------------------
* CRM-13638: Saving an Activity record from Search causes "With Contact" field value to be deleted
http://issues.civicrm.org/jira/browse/CRM-13638