Refactored out of CRM_Core_PseudoConstant: websiteType(), fromEmailAddress(), honorTy...
[civicrm-core.git] / CRM / Core / Page / Basic.php
index 3c7a441f8c85725f95c2aff5176d8c49d364e963..c55c368829f9d4dd9657150f2f8b7f79e9376ec6 100644 (file)
@@ -263,7 +263,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page {
           $this->action($object, $action, $values[$object->id], $links, $permission);
 
           if (isset($object->mapping_type_id)) {
-            $mappintTypes = CRM_Core_PseudoConstant::mappingTypes();
+            $mappintTypes = CRM_Core_PseudoConstant::get('CRM_Core_DAO_Mapping', 'mapping_type_id');
             $values[$object->id]['mapping_type'] = $mappintTypes[$object->mapping_type_id];
           }
         }