From fc4aa398ae0b568bf05e321358a0e30e1eb8f3b9 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 5 Aug 2013 12:06:27 +1200 Subject: [PATCH] Opps changed wrong BAO per Colemans's comment --- CRM/Batch/Form/Batch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Batch/Form/Batch.php b/CRM/Batch/Form/Batch.php index e2cdc0f4fe..58e4f33abf 100644 --- a/CRM/Batch/Form/Batch.php +++ b/CRM/Batch/Form/Batch.php @@ -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]); -- 2.25.1