Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r10411: LJSV-1525 (http://www.livejournal.com/ad...

Committer: ailyin
LJSV-1525 (http://www.livejournal.com/admin/faq/faqedit.bml not working): eliminate use vars ret
U   trunk/htdocs/admin/ipmap_test.bml
U   trunk/htdocs/voicepost/transcribe.bml
Modified: trunk/htdocs/admin/ipmap_test.bml
===================================================================
--- trunk/htdocs/admin/ipmap_test.bml	2011-04-21 03:50:15 UTC (rev 10410)
+++ trunk/htdocs/admin/ipmap_test.bml	2011-04-21 04:11:28 UTC (rev 10411)
@@ -3,7 +3,7 @@
 <?_code
 {
     use strict;
-    use vars qw($ret %POST);
+    use vars qw(%POST);
 
     my $u = LJ::get_remote();
     return "You must be logged in to use this tool." unless $u;

Modified: trunk/htdocs/voicepost/transcribe.bml
===================================================================
--- trunk/htdocs/voicepost/transcribe.bml	2011-04-21 03:50:15 UTC (rev 10410)
+++ trunk/htdocs/voicepost/transcribe.bml	2011-04-21 04:11:28 UTC (rev 10411)
@@ -4,8 +4,10 @@
 <?_code
 {
     use strict;
-    use vars qw(%POST %GET $ret);
+    use vars qw(%POST %GET);
 
+    my $ret;
+
     my $MAX_REVS = 10;
     my $dppid = $GET{'ppid'} + 0;
 

Tags: andy, bml, ljcom
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