CRM-13067 e-notice fix
authoreileen <eileen@fuzion.co.nz>
Wed, 17 Jul 2013 10:24:23 +0000 (22:24 +1200)
committereileen <eileen@fuzion.co.nz>
Wed, 17 Jul 2013 10:56:47 +0000 (22:56 +1200)
CRM/Member/Import/Parser/Membership.php

index 1ab0e13521726ea4058fe1ea0793d9bab4818546..a7a371f29f89e8406f4eb1c5e63e6a702af9beba 100644 (file)
@@ -366,7 +366,7 @@ class CRM_Member_Import_Parser_Membership extends CRM_Member_Import_Parser {
           return CRM_Import_Parser::ERROR;
         }
 
-        if ($formatValues['membership_id']) {
+        if (!empty($formatValues['membership_id'])) {
           $dao     = new CRM_Member_BAO_Membership();
           $dao->id = $formatValues['membership_id'];
           $dates   = array('join_date', 'start_date', 'end_date');