diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-10 07:58:40 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-10 07:58:40 +0000 |
commit | e4aab2d289ee97b563c9399b0b0580eaad4beda4 (patch) | |
tree | 396dbb76aeae2864b3988fdbb09420a867c01df7 /modules/file | |
parent | 14c7a79e3f26da9690068ff0c72aaa6f40ce793a (diff) | |
download | brdo-e4aab2d289ee97b563c9399b0b0580eaad4beda4.tar.gz brdo-e4aab2d289ee97b563c9399b0b0580eaad4beda4.tar.bz2 |
#763376 follow-up by fago, sun, effulgentsia: Minor adjustments to drupal_array_set/get_nested_value().
Diffstat (limited to 'modules/file')
-rw-r--r-- | modules/file/file.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/file/file.module b/modules/file/file.module index bc0e292cc..a79c8f542 100644 --- a/modules/file/file.module +++ b/modules/file/file.module @@ -572,7 +572,7 @@ function file_managed_file_submit($form, &$form_state) { // and set $element to the managed_file element that contains that button. $parents = $form_state['triggering_element']['#array_parents']; $button_key = array_pop($parents); - list($element) = drupal_array_get_nested_value($form, $parents); + $element = drupal_array_get_nested_value($form, $parents); // No action is needed here for the upload button, because all file uploads on // the form are processed by file_managed_file_value() regardless of which |