civicrm/civicrm-core — pull request #4690 by jitendrapurohit (2014-12-09 09:57:20+00:00)
Title: Additional fix for Cannot register lifetime membership for someone else ...

...[cid=0] if already have lifetime membership https://issues.civicrm.org/jira/browse/CRM-15559