Explicitly set the user layer, so that old user layers don't interfere 
the next time you try to preview.

        Patch by exor674. 

diffs (11 lines):

diff -r 7c7dc63ef76e -r 48959df3692d cgi-bin/LJ/S2Theme.pm
--- a/cgi-bin/LJ/S2Theme.pm     Mon Aug 23 18:49:44 2010 +0800
+++ b/cgi-bin/LJ/S2Theme.pm     Mon Aug 23 19:12:30 2010 +0800
@@ -673,6 +673,7 @@ sub get_preview_styleid {
         layout => $self->layoutid,
         i18n   => $i18n_layer,
         theme  => $self->themeid,
+        user   => 0,
     );
     LJ::S2::set_style_layers($u, $styleid, %layers);
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to