[Koha-bugs] [Bug 17970] New: GetPreparedLetter does not warn when expected
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 23 15:26:10 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17970
Bug ID: 17970
Summary: GetPreparedLetter does not warn when expected
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: jonathan.druart at bugs.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
>From C4::Letters::GetPreparedLetter:
my $tables = $params{tables};
my $substitute = $params{substitute};
$tables || $substitute || $repeat
or carp( "ERROR: nothing to substitute - both 'tables' and 'substitute'
are empty" ),
return;
So if the parameter tables or substitute is passed but does not contain
anything, it will not warn as expected.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list