Skip to content
Snippets Groups Projects
Commit 529d773e authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

notice fixes

parent 20331e47
Branches
Tags
No related merge requests found
......@@ -105,7 +105,8 @@ class CRM_Export_Form_Select extends CRM_Core_Form {
}
else {
// we need to determine component export
$stateMachine = &$this->controller->getStateMachine();
$stateMachine = $this->controller->getStateMachine();
$formName = CRM_Utils_System::getClassName($stateMachine);
$componentName = explode('_', $formName);
$components = array('Contribute', 'Member', 'Event', 'Pledge', 'Case', 'Grant', 'Activity');
......@@ -316,7 +317,7 @@ FROM {$this->_componentTable}
* @access public
* @static
*/
public function formRule($params, $files, $self) {
static public function formRule($params, $files, $self) {
$errors = array();
if (CRM_Utils_Array::value('mergeOption', $params) == self::EXPORT_MERGE_SAME_ADDRESS &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment