Fix for CRM-16162
authorWeb Access <rohan.katkar@webaccessglobal.com>
Tue, 24 Mar 2015 13:45:12 +0000 (19:15 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Tue, 24 Mar 2015 13:45:12 +0000 (19:15 +0530)
CRM/Utils/Address/BatchUpdate.php

index 4e3f24f7bb8ea23c412fffb6e9481683b41bc1dc..0c2a7743a30df952753037bf1bf8f53297d27b4a 100644 (file)
@@ -216,7 +216,7 @@ class CRM_Utils_Address_BatchUpdate {
           $addressParams['geo_code_1'] = $params['geo_code_1'];
           $addressParams['geo_code_2'] = $params['geo_code_2'];
           $addressParams['postal_code'] = $params['postal_code'];
-          $addressParams['postal_code_suffix'] = $params['postal_code_suffix'];
+          $addressParams['postal_code_suffix'] = CRM_Utils_Array::value('postal_code_suffix', $params);
         }
       }