Skip to content
Snippets Groups Projects
Unverified Commit a2106c80 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #15238 from eileenmcnaughton/5.18

(#1065) fix condition so that the contact field appears for s…
parents 6d75546d 7d1e6295
Branches
Tags
No related merge requests found
......@@ -142,6 +142,11 @@ class CRM_Grant_Form_Grant extends CRM_Core_Form {
$defaults['amount_granted'] = CRM_Utils_Money::format($defaults['amount_granted'], NULL, '%a');
}
}
else {
if ($this->_contactID) {
$defaults['contact_id'] = $this->_contactID;
}
}
return $defaults;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment