]> git.koha-community.org Git - koha.git/commit
Bug 15209: Check the parameter at the beginning of the subroutines
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 28 Dec 2015 15:47:01 +0000 (15:47 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 27 Jan 2016 02:07:21 +0000 (02:07 +0000)
commit372881ebfd5552ecb83450c7afea6a76f2df1a0b
tree0a4f4561a2a79e8c5307c6ba7983004518ede713
parentc273e888b0468c6d8e943f9989f6680dc63203fa
 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@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/Koha.pm