Commit 3a18267c authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #44 from colemanw/bhfe

Play nice with other hooks
parents 2d457f1a bae469ad
......@@ -1016,7 +1016,8 @@ function _cividiscount_add_discount_textfield(&$form) {
if (!$bhfe) {
$bhfe = array();
}
$bhfe = array('discountcode',$buttonName);
$bhfe[] = 'discountcode';
$bhfe[] = $buttonName;
$form->assign('beginHookFormElements', $bhfe);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment