First of all, great submission:

Line 86 of uc_rec.module generates a bogus link. The preceding slash makes the l() function put http:// in front of the node number.

It currently reads:

return l($node->title, "/node/{$node->nid}");

And, should read:

return l($node->title, "node/{$node->nid}");

Once this change is made, the l() function properly grabs the node name, the alias, and makes the correct link. Otherwise, it produces links like:

http://node/86

Thank you!

Comments

tdmarsol’s picture

Title: Generated links are generated with an invalid address » Links are generated with an invalid address
danithaca’s picture

Assigned: Unassigned » danithaca

thanks for the report. bug will be fixed in the next release, which will be available very soon.

danithaca’s picture

Version: 6.x-1.0-beta1 » 6.x-1.1
Status: Active » Fixed

fixed. thanks for the report. please download the latest version.

Status: Fixed » Closed (fixed)

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