Cleanup and tighten Letters module.
authorJoe Atzberger <joe.atzberger@liblime.com>
Fri, 19 Sep 2008 00:02:46 +0000 (19:02 -0500)
committerJohn Soros <john.soros@biblibre.com>
Tue, 28 Apr 2009 11:15:10 +0000 (13:15 +0200)
commita9e8ef2268ca4a95d122b79ea4bf36a03a3e2825
tree7742fe1aaeffb7faf6d9ae1e127c87f320be96d1
parent21ab96a51ebc02e156be761aec4949d0f1e7c594
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>
C4/Letters.pm