Fix issue with not deleting the site scheme cookie properly.

        Patch by exor674. 

diffs (12 lines):

diff -r 2e0690ee55e1 -r 9712d8733e4f cgi-bin/LJ/Setting/SiteScheme.pm
--- a/cgi-bin/LJ/Setting/SiteScheme.pm  Sun May 02 00:10:33 2010 +0000
+++ b/cgi-bin/LJ/Setting/SiteScheme.pm  Sun May 02 00:12:08 2010 +0000
@@ -102,7 +102,7 @@ sub save {
     # don't set cookie for default scheme
     if ($val eq $bml_schemes[0]->{scheme} && !$LJ::SAVE_SCHEME_EXPLICITLY) {
         $cval = "";
-        $r->delete_cookie( name => 'BMLschemepref' );
+        $r->delete_cookie( domain  => ".$LJ::DOMAIN", name => 'BMLschemepref' 
);
     }
 
     my $expires = undef;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to