Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webform_rules
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
webform_rules
Commits
4eea7677
Commit
4eea7677
authored
13 years ago
by
Stefan Borchert
Browse files
Options
Downloads
Patches
Plain Diff
Fixes issue #1347218: webform data not saved on scheduled rule.
parent
59efa5e3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
webform_rules.module
+2
-1
2 additions, 1 deletion
webform_rules.module
webform_rules.rules.inc
+1
-1
1 addition, 1 deletion
webform_rules.rules.inc
with
3 additions
and
2 deletions
webform_rules.module
+
2
−
1
View file @
4eea7677
...
...
@@ -197,7 +197,7 @@ function webform_rules_token_list($type) {
*/
function
webform_rules_token_values
(
$type
,
$object
=
NULL
,
$options
=
array
())
{
$values
=
array
();
if
(
!
is_array
(
$object
))
{
if
(
!
is_array
(
$object
)
||
!
isset
(
$object
[
'sid'
])
||
!
isset
(
$object
[
'components'
])
)
{
return
$values
;
}
switch
(
$type
)
{
...
...
@@ -293,6 +293,7 @@ function webform_rules_prepare_component_value($component_value, $raw = FALSE) {
* The rendered component value.
*/
function
webform_rules_render_component
(
$component
,
$value
,
$format
=
'text'
,
$title
=
TRUE
)
{
module_load_include
(
'inc'
,
'webform'
,
'includes/webform.components'
);
if
(
$format
!=
'text'
)
{
$format
=
'html'
;
}
...
...
This diff is collapsed.
Click to expand it.
webform_rules.rules.inc
+
1
−
1
View file @
4eea7677
...
...
@@ -65,7 +65,7 @@ function webform_rules_data_type_info() {
'label'
=>
t
(
'webform data'
),
'class'
=>
'webform_rules_data_type_webform_data'
,
'savable'
=>
TRUE
,
'identifiable'
=>
TRU
E
,
'identifiable'
=>
FALS
E
,
'use_input_form'
=>
FALSE
,
'module'
=>
'Webform'
,
'token type'
=>
'webform'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment