[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3683] trunk/scripts/setup.pl



Revision: 3683
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3683&view=rev
Author:   einhverfr
Date:     2011-08-25 01:54:42 +0000 (Thu, 25 Aug 2011)
Log Message:
-----------
Scoping/variable name fixes

Modified Paths:
--------------
    trunk/scripts/setup.pl

Modified: trunk/scripts/setup.pl
===================================================================
--- trunk/scripts/setup.pl	2011-08-24 23:58:05 UTC (rev 3682)
+++ trunk/scripts/setup.pl	2011-08-25 01:54:42 UTC (rev 3683)
@@ -218,7 +218,7 @@
     while (my $row = $sth->fetchrow_hashref('NAME_lc')){
           $row->{$check->{'edit'}} = 
                     { input => {
-                                name => "$check->{edit}_$roe->{id}",
+                                name => "$check->{edit}_$row->{id}",
                                 value => $row->{$check->{'edit'}},
                                 type => 'text',
                                 size => 10,
@@ -227,7 +227,7 @@
           $hiddens->{"id_$count"} = $row->{id},
     }
     $hiddens->{count} = $count;
-    $buttons = [
+    my $buttons = [
            { type => 'submit',
              name => 'action',
             value => 'fix_tests',

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.