civicrm/civicrm-core — pull request #1177 by aadityawalawalkar (2013-07-17 10:13:05+00:00)
Title: Fixed/Modified the earlier patch for CRM-12695 wrt comment on PR - 1135

Modified the earlier patch (as per comments suggested on PR -1135 https://github.com/civicrm/civicrm-core/pull/1135#issuecomment-20604599) to fix CRM-12695.
Also has a Web Test to test the fix.