[Koha-bugs] [Bug 15209] C4::Koha routines expecting a MARC::Record object should check it is defined

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 8 18:34:19 CET 2016


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

--- Comment #7 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 46449
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46449&action=edit
Bug 15209: Check the parameter at the beginning of the subroutines

It seems better to check if parameters exist at the beginning of a
subroutine.
It makes the code easier to read and there is 1 indentation level less.

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list