use BAO obj not DAO per @colmanw comment
authorEileen McNaughton <eileen@mcnaughty.com>
Mon, 5 Aug 2013 00:04:47 +0000 (12:04 +1200)
committerEileen McNaughton <eileen@mcnaughty.com>
Mon, 5 Aug 2013 00:04:47 +0000 (12:04 +1200)
CRM/Batch/Form/Batch.php

index 48df091486eee5243da1497d65c3a9b5f67de3ee..e2cdc0f4fe4a54107939aba3678d427ded6e7c9e 100644 (file)
@@ -60,7 +60,7 @@ class CRM_Batch_Form_Batch extends CRM_Admin_Form {
     }
 
     $this->applyFilter('__ALL__', 'trim');
-    $attributes = CRM_Core_DAO::getAttribute('CRM_Batch_DAO_Batch');
+    $attributes = CRM_Core_DAO::getAttribute('CRM_Batch_BAO_Batch');
     $this->add('text', 'title', ts('Batch Name'), $attributes['name'], TRUE);
 
     $batchTypes = CRM_Batch_DAO_Batch::buildOptions('type_id');