]> git.koha-community.org Git - koha.git/commit
Bug 10761: (follow-up) change return in C4::Reports::Guided::delete_report()
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 21 Aug 2013 09:01:37 +0000 (11:01 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 21 Aug 2013 14:37:47 +0000 (14:37 +0000)
commite189d4166e852118c1bf3b340991bf8fa0e3b720
tree68a603a407705758c75a437f25189d4ffff1ef92
parentb559b28fd03a70c37c04b31c8c67755458a01e51
Bug 10761: (follow-up) change return in C4::Reports::Guided::delete_report()

1/ delete_report should return undef is no parameter is given.
2/ delete_report returns the number of affected rows.
3/ delete_report should be tested with 1 and more parameters.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Reports/Guided.pm
t/db_dependent/Reports_Guided.t