[dw-free] Use external stylesheets by default for official styles
[commit: http://hg.dwscoalition.org/dw-free/rev/b8e59833de2e]
http://bugs.dwscoalition.org/show_bug.cgi?id=2747
Account forS1 core1 not having these functions.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2747
Account for
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/S2.pm
-------------------------------------------------------------------------------- diff -r 790c3b2ac7aa -r b8e59833de2e cgi-bin/LJ/S2.pm --- a/cgi-bin/LJ/S2.pm Tue Jun 29 17:46:05 2010 +0800 +++ b/cgi-bin/LJ/S2.pm Tue Jun 29 18:27:35 2010 +0800 @@ -262,8 +262,10 @@ sub s2_run S2::Builtin::LJ::start_css($ctx) if $css_mode; eval { if ( ref $entry ) { - S2::run_code( $ctx, $_, $page ) - foreach ( @$entry ); + foreach ( @$entry ) { + S2::run_code( $ctx, $_, $page ) + if S2::function_exists( $ctx, $_ ); + } } else { S2::run_code( $ctx, $entry, $page ); } --------------------------------------------------------------------------------