wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r17883: LJSUP-7490. incorrect name in button and...

Committer: gprochaev
LJSUP-7490. incorrect name in button and at the list

U   trunk/cgi-bin/LJ/Widget/AddCommunity.pm
Modified: trunk/cgi-bin/LJ/Widget/AddCommunity.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/AddCommunity.pm	2010-12-08 10:03:52 UTC (rev 17882)
+++ trunk/cgi-bin/LJ/Widget/AddCommunity.pm	2010-12-08 10:04:54 UTC (rev 17883)
@@ -21,7 +21,7 @@
         } qw(caption form_text submit_button_caption);
 
     my $vert_id = $vertical ? $vertical->vert_id : undef;
-    my $vert_input = $vert_id ? "<input type='hidden' name='vert_id' value='$vert_id'>" : '';
+    my $vert_input = "<input type='hidden' name='vert_id' value='".($vert_id ? $vert_id : 0)."'>";
 
     return <<EOT;
     <div class="right-mod">

Tags: livejournal, pm, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments