]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 11 Feb 2016 18:38:14 +0000 (19:38 +0100)
commit11796d60fa3167bd8b715a2289f90272e65af360
tree70e1eb1658d6c90a028b21e104f2770982b5f3b2
parent87388b7d3ac56b609e43c1600564d998693b6c3e
 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>
(cherry picked from commit 7132c9b49ca0c2abf7592d56e4b467be9107dd3f)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/Koha.pm