Commit a684b550 authored by grandcat's avatar grandcat
Browse files

[#535148] (thx to hadsie) fixed some taxonomy related bugs.

parent 1a04ca59
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -314,7 +314,7 @@ function fupload_list_images_imagefield_submit($form, &$form_state) {
        $node->format = isset($form_state['values']['format_'. $fid]) ? $form_state['values']['format_'. $fid] : $node->format;
      }
      if (isset($form_state['values']['taxonomy_'. $fid])) {
        $node->taxonomy = isset($form_state['values']['taxonomy_'. $fid]) ? array_merge($form_state['values']['taxonomy_'. $fid], $node->taxonomy) : $node->taxonomy;
        $node->taxonomy = !empty($node->taxonomy) ? array_merge($form_state['values']['taxonomy_' .$fid], $node->taxonomy) : $form_state['values']['taxonomy_' .$fid];
      }

      // imagefield (cck)