Opps changed wrong BAO per Colemans's comment
authorEileen McNaughton <eileen@mcnaughty.com>
Mon, 5 Aug 2013 00:06:27 +0000 (12:06 +1200)
committerEileen McNaughton <eileen@mcnaughty.com>
Mon, 5 Aug 2013 00:06:27 +0000 (12:06 +1200)
CRM/Batch/Form/Batch.php

index e2cdc0f4fe4a54107939aba3678d427ded6e7c9e..58e4f33abf46e7e81305265aed5ef12cf842d81a 100644 (file)
@@ -60,10 +60,10 @@ class CRM_Batch_Form_Batch extends CRM_Admin_Form {
     }
 
     $this->applyFilter('__ALL__', 'trim');
-    $attributes = CRM_Core_DAO::getAttribute('CRM_Batch_BAO_Batch');
+    $attributes = CRM_Core_DAO::getAttribute('CRM_Batch_DAO_Batch');
     $this->add('text', 'title', ts('Batch Name'), $attributes['name'], TRUE);
 
-    $batchTypes = CRM_Batch_DAO_Batch::buildOptions('type_id');
+    $batchTypes = CRM_Batch_BAO_Batch::buildOptions('type_id');
 
     // unset non-related types
     unset($batchTypes[3]);