Fall back to the parent's uniq value for layouts.
Patch by afuna.
diffs (12 lines):
diff -r 7867263254ab -r 5db312ece4e6 cgi-bin/LJ/S2Theme.pm
--- a/cgi-bin/LJ/S2Theme.pm Sun Mar 14 10:43:32 2010 -0700
+++ b/cgi-bin/LJ/S2Theme.pm Wed Mar 17 05:02:42 2010 +0000
@@ -424,7 +424,7 @@ sub new {
$theme_class = "LJ::S2Theme::$theme_class";
# package name for the layout
- my $layout_class = $self->{uniq};
+ my $layout_class = $self->{uniq} || $self->{layout_uniq};
$layout_class =~ s/\/.+//;
$layout_class =~ s/-/_/g;
$layout_class = "LJ::S2Theme::$layout_class";
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog