Bugzilla – Attachment 4479 Details for
Bug 6470
Unable to filter out actions made by kohaadmin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed-off patch
0001-SIGNED-OFF-Bug-6470-Unable-to-filter-out-log-entries.patch (text/plain), 880 bytes, created by
Magnus Enger
on 2011-06-15 11:19:52 UTC
(
hide
)
Description:
Signed-off patch
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2011-06-15 11:19:52 UTC
Size:
880 bytes
patch
obsolete
>From 0c98aafe45fc128202481495afb7e77c4c25e38c Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Mon, 6 Jun 2011 18:50:09 +0300 >Subject: [PATCH] [SIGNED-OFF] Bug 6470 - Unable to filter out log entries for kohaadmin (user 0) > > >Signed-off-by: Magnus Enger <magnus@enger.priv.no> >--- > C4/Log.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Log.pm b/C4/Log.pm >index 822cda5..98cd8d5 100644 >--- a/C4/Log.pm >+++ b/C4/Log.pm >@@ -213,7 +213,7 @@ sub GetLogs { > my @parameters; > $query .= " AND DATE_FORMAT(timestamp, '%Y-%m-%d') >= \"".$iso_datefrom."\" " if $iso_datefrom; #fix me - mysql specific > $query .= " AND DATE_FORMAT(timestamp, '%Y-%m-%d') <= \"".$iso_dateto."\" " if $iso_dateto; >- if($user) { >+ if($user ne "") { > $query .= " AND user = ? "; > push(@parameters,$user); > } >-- >1.7.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6470
:
4382
| 4479