[dw-free] http://bugs.dwscoalition.org/show_bug.cgi?id=594
[commit: http://hg.dwscoalition.org/dw-free/rev/602eb346a3ba]
http://bugs.dwscoalition.org/show_bug.cgi?id=594
Fix issue with variable not getting reset properly.
Patch by
exor674.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=594
Fix issue with variable not getting reset properly.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- etc/config.pl
- htdocs/customize/advanced/styles.bml
-------------------------------------------------------------------------------- diff -r 5be1b29b3e09 -r 602eb346a3ba etc/config.pl --- a/etc/config.pl Tue Mar 31 04:24:35 2009 +0000 +++ b/etc/config.pl Tue Mar 31 04:41:06 2009 +0000 @@ -29,7 +29,7 @@ # where we set the cookies (note the period before the domain) # can be one value or an array ref (to accomodate certain old # broken browsers) - $COOKIE_DOMAIN = ["", ".$DOMAIN"]; + $COOKIE_DOMAIN = ".$DOMAIN"; $COOKIE_PATH = "/"; # email addresses diff -r 5be1b29b3e09 -r 602eb346a3ba htdocs/customize/advanced/styles.bml --- a/htdocs/customize/advanced/styles.bml Tue Mar 31 04:24:35 2009 +0000 +++ b/htdocs/customize/advanced/styles.bml Tue Mar 31 04:41:06 2009 +0000 @@ -60,7 +60,7 @@ # extra arguments for get requests my $getextra = $authas ne $remote->{'user'} ? "?authas=$authas" : ''; - my $getextra_amp = "&authas=$authas" if $getextra; + my $getextra_amp = $getextra ? "&authas=$authas" : ''; if ($noactions) { $getextra = "?user=" . $u->user; $getextra_amp = "&user=" . $u->user; --------------------------------------------------------------------------------