Commit fe511cb1 authored by David Burns's avatar David Burns Committed by Gisle Hannemyr
Browse files

Issue #3260398 by davidburns: Fixed undefined method File::url()

parent df6b0ff4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ function views_rss_media_preprocess_item_thumbnail(&$variables) {
      }
      // Normal image size.
      else {
        $element['attributes']['url'] = $file->url();
        $element['attributes']['url'] = $file->createFileUrl(FALSE);
      }
    }
    // No file entity found, but something still was assigned to be displayed