Browse Source

Correcting Logging on ModMember function so that the query is logged in the 'info' field.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Chris Nighswonger 16 years ago
committed by Joshua Ferraro
parent
commit
35df86da59
  1. 3
      C4/Members.pm

3
C4/Members.pm

@ -633,7 +633,7 @@ sub ModMember {
# is adult check guarantees;
UpdateGuarantees(%data);
}
&logaction(C4::Context->userenv->{'number'},"MEMBERS","MODIFY",$data{'borrowernumber'},"")
&logaction(C4::Context->userenv->{'number'},"MEMBERS","MODIFY",$data{'borrowernumber'},"$query (executed w/ arg: $data{'borrowernumber'})")
if C4::Context->preference("BorrowersLog");
}
@ -1734,6 +1734,7 @@ sub GetPatronImage {
PutPatronImage($cardnumber, $mimetype, $imgfile);
Stores patron binary image data and mimetype in database.
NOTE: This function is good for updating images as well as inserting new images in the database.
=cut

Loading…
Cancel
Save