koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/C4 Log.pm


From: paul poulain
Subject: [Koha-cvs] koha/C4 Log.pm
Date: Fri, 14 Apr 2006 09:33:56 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         
Changes by:     paul poulain <address@hidden>   06/04/14 09:33:56

Modified files:
        C4             : Log.pm 

Log message:
        defaulting usernumber to '' (root login)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/C4/Log.pm.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: koha/C4/Log.pm
diff -u koha/C4/Log.pm:1.4 koha/C4/Log.pm:1.5
--- koha/C4/Log.pm:1.4  Mon Aug  8 09:11:54 2005
+++ koha/C4/Log.pm      Fri Apr 14 09:33:56 2006
@@ -62,6 +62,7 @@
 #'
 sub logaction{
   my ($usernumber,$modulename, $actionname, $objectnumber, 
$infos)address@hidden;
+       $usernumber='' unless $usernumber;
        my $dbh = C4::Context->dbh;
        my $sth=$dbh->prepare("Insert into action_logs 
(timestamp,user,module,action,object,info) values (now(),?,?,?,?,?)");
        $sth->execute($usernumber,$modulename,$actionname,$objectnumber,$infos);




reply via email to

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