Bug 11402: make Labels::_guide_box return undef if undefned data is passed
authorTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 16 Dec 2013 14:55:56 +0000 (11:55 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 7 Feb 2014 15:39:17 +0000 (12:39 -0300)
commite1b1dceabb52e72c6b899e625f7e9308aba8f15b
treee5fb86e9f0b0718a1825cfde2dffd104ff4616a7
parent6b09a1c19558d58fd3d1d323f89416455fda5706
Bug 11402: make Labels::_guide_box return undef if undefned data is passed

That's it. A guide box cannot be created if invalid data is passed.

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script, includes new unit tests.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 4720cbc4145223f1ffd653efdefd1a4f724d3144)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit c129755ce41fcc3712c987149d5cbc4dec696cf6)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Labels/Label.pm
t/Labels.t