Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Checked some code because of missing $file->description information and was wondering about line 56 of file_entity.theme.inc
return '<span class="file">' . $icon . ' ' . l($link_text, $url, $options) . '</span>';
$url is not defined in this function. Shouldn't it be $uri ???
Comment | File | Size | Author |
---|---|---|---|
#5 | url_file_link-2912054-6.patch | 626 bytes | joseph.olstad |
|
Comments
Comment #2
joseph.olstadtry release 7.x-2.5 , should be resolved.
Comment #3
vistree CreditAttribution: vistree commentedHi joseph,
the code in 7.x-2.5 is still the same. Where is $url defined in line 56 of file_entity.theme.inc??
Comment #4
joseph.olstadhi @vistree, ok, you are correct, something is not right here.
not sure yet how to fix this.
Comment #5
joseph.olstadComment #8
joseph.olstadComment #9
vistree CreditAttribution: vistree commentedHi Josef - very cool. Thanx!