Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
webform_encrypt
Commits
2a165291
Commit
2a165291
authored
Jul 23, 2012
by
akoepke
Committed by
Jake Bell
Jul 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing
#1344804
: Add check for encryption options to webform_encrypt_webform_component_presave()
parent
8f169744
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
webform_encrypt.module
webform_encrypt.module
+4
-2
No files found.
webform_encrypt.module
View file @
2a165291
...
...
@@ -63,8 +63,10 @@ function webform_encrypt_form_alter(&$form, $form_state, $form_id) {
* Save encryption settings for a component.
*/
function
webform_encrypt_webform_component_presave
(
&
$component
)
{
$component
[
'extra'
]
=
array_merge
(
$component
[
'extra'
],
$component
[
'encryption'
]);
unset
(
$component
[
'encryption'
]);
if
(
!
empty
(
$component
[
'encryption'
]))
{
$component
[
'extra'
]
=
array_merge
(
$component
[
'extra'
],
$component
[
'encryption'
]);
unset
(
$component
[
'encryption'
]);
}
}
/**
...
...
Write
Preview
Markdown
is supported
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