[dw-free] sitefeeds style stylesheet not being applied
[commit: http://hg.dwscoalition.org/dw-free/rev/ea4f943ae4e9]
http://bugs.dwscoalition.org/show_bug.cgi?id=2924
If we have no styleid (special styles, ones built up manually and not owned
by anyone), treat them specially -- let the logic fall through to them so
they can use their own stylesheets.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2924
If we have no styleid (special styles, ones built up manually and not owned
by anyone), treat them specially -- let the logic fall through to them so
they can use their own stylesheets.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/User.pm
-------------------------------------------------------------------------------- diff -r 8fe402073236 -r ea4f943ae4e9 cgi-bin/LJ/User.pm --- a/cgi-bin/LJ/User.pm Thu Jul 29 09:53:05 2010 -0500 +++ b/cgi-bin/LJ/User.pm Thu Jul 29 09:11:29 2010 -0700 @@ -8423,7 +8423,9 @@ sub make_journal { } # resource URLs have the styleid in it - if ($view eq "res" && $opts->{'pathextra'} =~ m!^/(\d+)/!) { + # unless they're a special style, like sitefeeds (which have no styleid) + # in which case, let them fall through. Something else will handle it + if ( $view eq "res" && $opts->{'pathextra'} =~ m!^/(\d+)/! && $1 ) { return (2, $1); } --------------------------------------------------------------------------------