Closed (fixed)
Project:
LiveJournal CrossPoster
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2007 at 19:50 UTC
Updated:
3 Dec 2007 at 04:41 UTC
Hi,
When I use LJXP in Drupal 5.x, I get 3 error messages from includes/common.inc. They relate to the t() function and the l() function. I tracked it down (I think) to line 425 where you give a default for "Read more of this post". the line currently reads
$message['event'] .= l(t('Read the rest of this post', $dest, NULL, NULL, NULL, TRUE));
The brackets are incorrectly positioned. The line should instead be:
$message['event'] .= l(t('Read the rest of this post'), $dest, NULL, NULL, NULL, TRUE);
Alex
Comments
Comment #1
domesticat commentedI can confirm this. I'd been consistently seeing these errors when posting, and I'd narrowed it down to the ljxp module. Full paths snipped out below since they're irrelevant:
Entries were being posted, but they were not including the 'read the rest of this post' link. Making the code change included above takes care of the errors, and restores the link.
Comment #2
wrunt commentedThanks for tracking down the bug. I've fixed this in cvs.
Comment #3
agileware commentedThis fix is included in the 5.x-1.2 release.
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.