this is broken because of the new links way to have an array like this..

$links[] = array('#title' => t('download audio file'), '#href' => $node->url_download, '#attributes' => array('title' => t('download audio file')));

Here is a patch that updates audio_link

CommentFileSizeAuthor
audio_link_update.patch1.22 KBAnonymous (not verified)

Comments

drewish’s picture

cool, we've got a few other patches that hit that block of code. i'll wait until they're applied to pick this up. i'd like to keep 4.7 and HEAD identical as long as possible.

Anonymous’s picture

well this is an update for CVS. Do not apply it to 4.7 branch.

It's the new way of handling links. (suppose to be 4.8)

drewish’s picture

yeah, i get that, i'm going to hold off the 4.8 specific stuff until all the 4.7 fixes are applied.

Anonymous’s picture

k

drewish’s picture

Title: audio_link broken » audio_link broken in HEAD/4.8
drewish’s picture

drewish’s picture

Status: Needs review » Fixed

applied a combination of this patch and the one in #70525.

Anonymous’s picture

Status: Fixed » Closed (fixed)