Append a "&" in case we have other URL arguments (style=*)
Patch by fu.
diffs (12 lines):
diff -r efb303765aaa -r c254ef705e15 cgi-bin/weblib.pl
--- a/cgi-bin/weblib.pl Mon Nov 08 21:31:44 2010 -0600
+++ b/cgi-bin/weblib.pl Tue Nov 09 15:33:44 2010 +0800
@@ -656,7 +656,7 @@ sub create_qr_div {
$qrhtml .= "<div id='qrformdiv'><form id='qrform' name='qrform'
method='POST' action='$LJ::SITEROOT/talkpost_do'>";
$qrhtml .= LJ::form_auth();
- my $stylemineuri = %$style_opts ? LJ::viewing_style_args( %$style_opts ) :
"";
+ my $stylemineuri = %$style_opts ? LJ::viewing_style_args( %$style_opts ) .
"&" : "";
my $basepath = $u->journal_base . "/$ditemid.html?${stylemineuri}";
my $usertype = ($remote->openid_identity && $remote->is_validated) ?
'openid_cookie' : 'cookieuser';
$qrhtml .= LJ::html_hidden({'name' => 'replyto', 'id' => 'replyto',
'value' => ''},
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog