]> git.koha-community.org Git - koha.git/commit
Cleanup and tighten Letters module.
authorJoe Atzberger <joe.atzberger@liblime.com>
Fri, 19 Sep 2008 00:02:46 +0000 (19:02 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:17 +0000 (21:15 +0200)
commit59b76747a65d4547a720b8afb9617f942b51c622
tree42a57358cde9f09560990c18d79971850f0344c1
parent23f85cae11fdd5356875b52b6d1f88af9d0e141a
Cleanup and tighten Letters module.

Subroutine arguments enforced w/ with more checks, explicit return undef where warranted.
Placeholders used in SQL where applicable.
One logical error corrected :
- next MESSAGE if ( lc( $message->{'message_transport_type'} eq 'rss' ) );
+ next MESSAGE if ( lc($message->{'message_transport_type'}) eq 'rss' );

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/Letters.pm