Commit 4b8c473f authored by quicksketch's avatar quicksketch

#1016072 by doq: module_load_include() loads non-existent file,

parent f23d5205
......@@ -322,7 +322,6 @@ function filefield_widget(&$form, &$form_state, $field, $items, $delta = 0) {
}
$form['#attributes']['enctype'] = 'multipart/form-data';
module_load_include('inc', 'filefield', 'field_widget');
module_load_include('inc', $field['widget']['module'], $field['widget']['module'] .'_widget');
$item = array('fid' => 0, 'list' => $field['list_default'], 'data' => array('description' => ''));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment