Koha/C4/Creators
Colin Campbell 1f56a04cad Bug 4450 Use more consistent error returns in C4/Creators/*
A lot of routines were defaulting to return -1 in error conditions
but calling code was expecting a ref or object
use return with explicit undef (or emptyness in array context)
for these cases. Extended this to cases where return was not tested
( -1 might in some cases be legit data).

Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit 5cf2b78b6f)
[RM note: ... thereby undoing the revert]
2010-05-07 13:04:58 -04:00
..
Batch.pm Bug 4450 Use more consistent error returns in C4/Creators/* 2010-05-07 13:04:58 -04:00
Layout.pm Bug 4450 Use more consistent error returns in C4/Creators/* 2010-05-07 13:04:58 -04:00
Lib.pm Bug 4450 Use more consistent error returns in C4/Creators/* 2010-05-07 13:04:58 -04:00
PDF.pm Bug 4450 Use more consistent error returns in C4/Creators/* 2010-05-07 13:04:58 -04:00
Profile.pm Bug 4450 Use more consistent error returns in C4/Creators/* 2010-05-07 13:04:58 -04:00
Template.pm Bug 4450 Use more consistent error returns in C4/Creators/* 2010-05-07 13:04:58 -04:00