[Koha-bugs] [Bug 14627] GetAuthorisedValueByCode does not handle undef intelligently

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Oct 4 09:29:44 CEST 2015


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

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41266|0                           |1
        is obsolete|                            |

--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 43090
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43090&action=edit
Bug 14627 Check for undef passed to GetAuthorisedValueByCode

Dont prepare or execute unnecessary sql if passed an undef value
routine is used in various places that dont check if the value
returned from a nullable field is defined or not
(e.g. streettype in the borrower record which many sites do not use)

Lets save those cpu cycles for something useful

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


More information about the Koha-bugs mailing list