Attempt to fix paging on contact summary
[civicrm-core.git] / CRM / Utils / Address.php
index 4f2cdc5f5ce3efc376719ee8ad78bede747df3b8..518c17e7727e0bd23cbd398bb356c5cda9b41d73 100644 (file)
@@ -343,7 +343,7 @@ class CRM_Utils_Address {
         $alternateName = $alternate2;
       }
       //Include values which prepend 'billing_' to country and state_province.
-      if (CRM_Utils_Array::value($alternateName, $params)) {
+      if (!empty($params[$alternateName])) {
         if (empty($value) || !is_numeric($value)) {
           $value = $params[$alternateName];
         }