[Koha-bugs] [Bug 8176] $sqlwhere is undefined in C4::Serials in GetSubscriptions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 1 09:24:43 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8176

--- Comment #1 from Colin Campbell <colin.campbell at ptfs-europe.com> ---
Created attachment 9867
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9867&action=edit
Proposed patch

Checking the variable with the ternary will generate a warning about comparison
with an undefined var. (test needs to be defined $sqlwhere) The underlying
problem is that we havent given an initial value to the var before either
overwriting or concatening with it so this initializes it to an empty string,
that done it should not log warnings

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list