Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.11
-
Fix Version/s: 4.6
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:None
Description
Membership Receipt for LifeTime Membership - Send Confirmation and Receipts -> from Backend shows:
Membership End Date 0th, 0
Two options:
1) Don't try format if $membership->end_date is 'null'
in CRM_Member_Form_Membership:
if ($membership->end_date !='null')
2) Never try to format any $dateString that is 'null':
in CRM_Utils_Date:
if ($dateString == 'null')