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
Comment #1
Anonymous (not verified) commentedThankyou!
I'll get that committed to the development branch tomorrow.