koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/C4 Stats.pm,1.16,1.17


From: Jerome Vizcaino
Subject: [Koha-cvs] CVS: koha/C4 Stats.pm,1.16,1.17
Date: Fri, 20 Jun 2003 05:34:50 -0700

Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1:/tmp/cvs-serv9591

Modified Files:
        Stats.pm 
Log Message:

FIX: Incorrect values inserted in database. used '$a' instead of $a


Index: Stats.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Stats.pm,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** Stats.pm    19 May 2003 16:20:52 -0000      1.16
--- Stats.pm    20 Jun 2003 12:34:48 -0000      1.17
***************
*** 83,87 ****
        my $sth=$dbh->prepare("Insert into statistics 
(datetime,branch,type,usercode,value,
                                        
other,itemnumber,itemtype,borrowernumber) values (now(),?,?,?,?,?,?,?,?)");
!       
$sth->execute('$branch','$type','$user','$amount','$other','$itemnum','$itemtype','$borrowernumber');
        $sth->finish;
  }
--- 83,87 ----
        my $sth=$dbh->prepare("Insert into statistics 
(datetime,branch,type,usercode,value,
                                        
other,itemnumber,itemtype,borrowernumber) values (now(),?,?,?,?,?,?,?,?)");
!       
$sth->execute($branch,$type,$user,$amount,$other,$itemnum,$itemtype,$borrowernumber);
        $sth->finish;
  }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]