the line:

  $output = l($name, $link->href, $attr);

Should be:

  $output = l($name, $link->href, array('attributes'=>$attr));

This would make the link arguments to work, as can be seen in:
http://api.drupal.org/api/function/l/6

--
Lourenzo Ferreira

Comments

Anonymous’s picture

Assigned: Unassigned »
Status: Active » Fixed

Thankyou!

I'll get that committed to the development branch tomorrow.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.