Project

General

Profile

Revision 2c8c2b87

Added by Assos Assos about 9 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/feeds/mappers/file.inc
76 76
  $i = 0;
77 77
  $field = isset($entity->$target) ? $entity->$target : array();
78 78
  foreach ($value as $v) {
79
    $file = FALSE;
79 80
    try {
81
      $v->setAllowedExtensions($instance_info['settings']['file_extensions']);
80 82
      $file = $v->getFile($destination);
81 83
    }
82 84
    catch (Exception $e) {
83
      watchdog_exception('Feeds', $e, nl2br(check_plain($e)));
85
      watchdog('feeds', check_plain($e->getMessage()));
84 86
    }
85 87
    if ($file) {
86 88
      $field['und'][$i] = (array)$file;

Also available in: Unified diff