Committer: vad
LJSUP-10101: update access to photohostingU trunk/cgi-bin/LJ/Widget/ErrorPage.pm
Modified: trunk/cgi-bin/LJ/Widget/ErrorPage.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/ErrorPage.pm 2011-10-10 11:24:50 UTC (rev 11077) +++ trunk/cgi-bin/LJ/Widget/ErrorPage.pm 2011-10-10 14:17:43 UTC (rev 11078) @@ -223,7 +223,7 @@ 'ljphoto_members' => sub { my $ml_description = ''; - my $ljphoto_comm = LJ::load_user($LJ::LJPHOTO_ALLOW_FROM_COMMUNITY); + my $ljphoto_comm = LJ::load_user($LJ::LJPHOTO_ALLOW_FROM_COMMUNITIES[0]); if ($ljphoto_comm) { $ml_description = LJ::Lang::ml( '.errorpage.ljphoto_closed.description',