I use aberdeen on my site and I'm in the process of upgrading from D5 to D6. With D5, books have a "Add child page" link that includes the parent of the book as a parameter (node/add/book?parent=X). With D6, this is not the case on my site.

I found out that this is due to aberdeen's template.php calling l() according to the D5 API. However, the API in D6 has changed according to http://api.drupal.org/api/function/l: parameters 3 and higher now have to be passed as one array.

The attached patch does this and solves the bug for me.

CommentFileSizeAuthor
aberdeen-fix-l-call.patch799 bytestbm13

Comments

ishmael-sanchez’s picture

Assigned: Unassigned » ishmael-sanchez
ishmael-sanchez’s picture

Status: Active » Patch (to be ported)
ishmael-sanchez’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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