]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 29 Jan 2016 10:35:48 +0000 (11:35 +0100)
commit7132c9b49ca0c2abf7592d56e4b467be9107dd3f
tree1a208deaac6f8a62aa8bc14db0b331bffb04238e
parentbc287802a996b265d008845867f1691eeca576d9
 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>
(cherry picked from commit 372881ebfd5552ecb83450c7afea6a76f2df1a0b)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Koha.pm