From 55e6847ab0796ede480b34b1faa0874c5846adfe Mon Sep 17 00:00:00 2001 From: Pradeep Nayak <pradpnayak@gmail.com> Date: Mon, 7 Aug 2017 16:31:09 +0530 Subject: [PATCH] CRM-21039, Retrieve relationship using entity table ---------------------------------------- * CRM-21039: Trying to add Asset account relationship throws validation error https://issues.civicrm.org/jira/browse/CRM-21039 fixed style warning --- CRM/Financial/Form/FinancialTypeAccount.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Financial/Form/FinancialTypeAccount.php b/CRM/Financial/Form/FinancialTypeAccount.php index e686724d37..7e63f87058 100644 --- a/CRM/Financial/Form/FinancialTypeAccount.php +++ b/CRM/Financial/Form/FinancialTypeAccount.php @@ -241,6 +241,7 @@ class CRM_Financial_Form_FinancialTypeAccount extends CRM_Contribute_Form { $params = array( 'account_relationship' => $values['account_relationship'], 'entity_id' => $self->_aid, + 'entity_table' => 'civicrm_financial_type', ); $defaults = array(); if ($self->_action == CRM_Core_Action::ADD) { -- 2.25.1