From e8986258e3371e69542782c5794d69aed6bff109 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 5 Aug 2013 12:04:47 +1200 Subject: [PATCH] use BAO obj not DAO per @colmanw comment --- CRM/Batch/Form/Batch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Batch/Form/Batch.php b/CRM/Batch/Form/Batch.php index 48df091486..e2cdc0f4fe 100644 --- a/CRM/Batch/Form/Batch.php +++ b/CRM/Batch/Form/Batch.php @@ -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'); -- 2.25.1