madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21713: LJSUP-11826: Use of uninitialized value ...

Committer: sbelyaev
LJSUP-11826: Use of uninitialized value in concatenation (.) or string at scheduled_posts.bml
U   trunk/htdocs/manage/scheduled_posts.bml
Modified: trunk/htdocs/manage/scheduled_posts.bml
===================================================================
--- trunk/htdocs/manage/scheduled_posts.bml	2012-04-13 08:12:15 UTC (rev 21712)
+++ trunk/htdocs/manage/scheduled_posts.bml	2012-04-13 08:17:36 UTC (rev 21713)
@@ -21,7 +21,7 @@
     my $skip = $GET{'skip'} || 0;
     my $usejournal = $GET{'usejournal'};
     my $only_me_checked = $GET{'only_me'};
-    my $getextra = $usejournal ? "?usejournal=$usejournal" : undef;
+    my $getextra = $usejournal ? "?usejournal=$usejournal" : '';
 
     if ($only_me_checked) {
         $getextra = $getextra ? "$getextra&only_me=1" : '?only_me=1';
@@ -145,8 +145,8 @@
     # header
     $ret .= "<div class='b-editentries-header'>";
     $ret .= "<h1>" . BML::ml('.title') . "</h1>";
+    $ret .= "<form action='$page_name$getextra' method='get' class='b-editentries-form'>\n";
 
-    $ret .= "<form action='$page_name$getextra' method='get' class='b-editentries-form'>\n";
     $ret .= "<p>" . LJ::html_text( { 'name'        => 'usejournal', 
                                      'size'        => '20', 
                                      'mfaxlength'  => '15', 

Tags: bml, livejournal, madeon, sbelyaev
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