Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
CiviDiscount
Commits
3a18267c
Commit
3a18267c
authored
May 03, 2014
by
Kurund Jalmi
Browse files
Merge pull request #44 from colemanw/bhfe
Play nice with other hooks
parents
2d457f1a
bae469ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
cividiscount.php
View file @
3a18267c
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment