From: Janusz Kaczmarek <[email protected]>
Signed-off-by: Magnus Enger <[email protected]> --- 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 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
