[Koha-bugs] [Bug 14468] Remove warnings when creating Labels

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 23 18:44:26 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14468

--- Comment #14 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 43882
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43882&action=edit
Bug 14468: followup to fix tests

This patch fix an expected  test result.
Also changes a comparison for the return value to 'delete'
layout sub, in case of success it returns 'undef' and triggers
the message 'use of uninitialized value $del_results ...'

To test:
1) Whitout this patch

prove t/db_dependent/Labels/t_Layout.t

fails.

Also note the message
"Use of uninitialized value $del_results in string ne at
t/db_dependent/Labels/t_Layout.t line 110."
for using the return value of delete layout (undef on success!)

2) Apply the patch
3) Test pass and no more message

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list