Fix spelling on Default
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 28 Aug 2015 00:34:02 +0000 (00:34 +0000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 28 Aug 2015 00:34:02 +0000 (00:34 +0000)
CRM/Export/BAO/Export.php

index 0dccd570c1a710ecfd23ae31be6862472c303bb6..7d67bc8c461370767b6132d6ccb74144608459ad 100644 (file)
@@ -92,7 +92,7 @@ class CRM_Export_BAO_Export {
    *
    * return string $property
    */
-  public static function defultReturnProperty($exportMode) {
+  public static function defaultReturnProperty($exportMode) {
     // hack to add default returnproperty based on export mode
     if ($exportMode == CRM_Export_Form_Select::CONTRIBUTE_EXPORT) {
       $property = 'contribution_id';
@@ -328,7 +328,7 @@ class CRM_Export_BAO_Export {
           }
         }
       }
-      $returnProperties[self::defultReturnProperty($exportMode)] = 1;
+      $returnProperties[self::defaultReturnProperty($exportMode)] = 1;
       if ($exportmode == CRM_Export_Form_Select::EVENT_EXPORT && !empty($returnProperties['participant_role'])) {
         unset($returnProperties['participant_role']);
         $returnProperties['participant_role_id'] = 1;