[dw-free] Memories pass in user name, not user object; server error
[commit: http://hg.dwscoalition.org/dw-free/rev/2140dc0e6de4]
http://bugs.dwscoalition.org/show_bug.cgi?id=2921
Temporarily revert back to LJ::journal_base, rather than $u->journal_base.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2921
Temporarily revert back to LJ::journal_base, rather than $u->journal_base.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/Entry.pm
-------------------------------------------------------------------------------- diff -r b9ed7da790c2 -r 2140dc0e6de4 cgi-bin/LJ/Entry.pm --- a/cgi-bin/LJ/Entry.pm Thu Jul 29 01:50:10 2010 -0700 +++ b/cgi-bin/LJ/Entry.pm Thu Jul 29 02:21:27 2010 -0700 @@ -2154,7 +2154,7 @@ sub item_link # XXX: should have an option of returning a url with escaped (&) # or non-escaped (&) arguments. a new link object would be best. my $args = @args ? "?" . join("&", @args) : ""; - return $u->journal_base . "/$ditemid.html$args"; + return LJ::journal_base( $u ) . "/$ditemid.html$args"; } # <LJFUNC> --------------------------------------------------------------------------------