Bugzilla – Attachment 4382 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]
Proposed patch
0001-Bug-6470-Unable-to-filter-out-log-entries-for-kohaad.patch (text/plain), 815 bytes, created by
Janusz Kaczmarek
on 2011-06-06 15:55:17 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2011-06-06 15:55:17 UTC
Size:
815 bytes
patch
obsolete
>From 67e02025ce196ef38670a8f3de0099cfa37f08bf Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Mon, 6 Jun 2011 18:50:09 +0300 >Subject: [PATCH] Bug 6470 - Unable to filter out log entries for kohaadmin (user 0) > >--- > 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.2.5 >
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