[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
Mon Dec 28 16:49:44 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15209
--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 46009
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46009&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>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list