summaryrefslogtreecommitdiff
path: root/modules/field/field.form.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-02 13:47:26 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-02 13:47:26 +0000
commit4f2e13f50376a9032f8157563aeb6eede34433eb (patch)
treea8462d9bee26edcf648b4bf0de25b426c0ffcfd8 /modules/field/field.form.inc
parentcbd22269f81552616377090f6fe9187fdeb656d9 (diff)
downloadbrdo-4f2e13f50376a9032f8157563aeb6eede34433eb.tar.gz
brdo-4f2e13f50376a9032f8157563aeb6eede34433eb.tar.bz2
- Patch #422362 by JamesAn: convert form.inc to use new static caching API.
Diffstat (limited to 'modules/field/field.form.inc')
-rw-r--r--modules/field/field.form.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/field.form.inc b/modules/field/field.form.inc
index f321d2dc7..4b15d2c42 100644
--- a/modules/field/field.form.inc
+++ b/modules/field/field.form.inc
@@ -392,7 +392,7 @@ function field_add_more_js($bundle_name, $field_name) {
// Just grab the data we need.
$form_state['values'] = $form_state_copy['values'];
// Reset cached ids, so that they don't affect the actual form we output.
- form_clean_id(NULL, TRUE);
+ drupal_static_reset('form_clean_id');
// Sort the $form_state['values'] we just built *and* the incoming $_POST data
// according to d-n-d reordering.