Define gettext translation for world_region
[civicrm-core.git] / CRM / Core / BAO / Address.php
index 338712adfba5c76e3db0b4d169cbb41d570d37bd..a49737ad30cdcdc1f0cc377fdf5e3e8244325bc1 100644 (file)
@@ -1349,7 +1349,7 @@ SELECT is_primary,
       case 'world_region':
       case 'worldregion':
       case 'worldregion_id':
-        return CRM_Core_PseudoConstant::worldRegion();
+        return CRM_Core_BAO_Country::buildOptions('region_id', $context);
     }
     return CRM_Core_PseudoConstant::get(__CLASS__, $fieldName, $params, $context);
   }