Committer: nnikulochkina
LJSUP-13578: XML RPC paid repost are not accessibleU trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl =================================================================== --- trunk/cgi-bin/ljprotocol.pl 2012-09-12 11:28:29 UTC (rev 22874) +++ trunk/cgi-bin/ljprotocol.pl 2012-09-12 11:40:40 UTC (rev 22875) @@ -268,7 +268,7 @@ $req->{'ver'} = 0 unless defined $req->{'ver'}; # check specified language - if ($req->{'lang'} && not grep /^$req->{'lang'}$/, @LJ::LANGS) { + if ($req->{'lang'} && not grep /^$req->{'lang'}$/, (@LJ::LANGS, 'en')) { return fail($err, 221, $req->{'lang'} ); } }