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
drupal
Commits
13c9e7f9
Commit
13c9e7f9
authored
Apr 30, 2009
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Rolled back patch
#343415
. Needs more work and discussion.
parent
4516d0c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
includes/form.inc
includes/form.inc
+1
-1
No files found.
includes/form.inc
View file @
13c9e7f9
...
@@ -503,7 +503,7 @@ function drupal_process_form($form_id, &$form, &$form_state) {
...
@@ -503,7 +503,7 @@ function drupal_process_form($form_id, &$form, &$form_state) {
// We'll clear out the cached copies of the form and its stored data
// We'll clear out the cached copies of the form and its stored data
// here, as we've finished with them. The in-memory copies are still
// here, as we've finished with them. The in-memory copies are still
// here, though.
// here, though.
if
(
!
empty
(
$form_state
[
'values'
][
'form_build_id'
]))
{
if
(
variable_get
(
'cache'
,
CACHE_DISABLED
)
==
CACHE_DISABLED
&&
!
empty
(
$form_state
[
'values'
][
'form_build_id'
]))
{
cache_clear_all
(
'form_'
.
$form_state
[
'values'
][
'form_build_id'
],
'cache_form'
);
cache_clear_all
(
'form_'
.
$form_state
[
'values'
][
'form_build_id'
],
'cache_form'
);
cache_clear_all
(
'storage_'
.
$form_state
[
'values'
][
'form_build_id'
],
'cache_form'
);
cache_clear_all
(
'storage_'
.
$form_state
[
'values'
][
'form_build_id'
],
'cache_form'
);
}
}
...
...
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