]> 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)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 24 Apr 2009 16:16:50 +0000 (11:16 -0500)
commit6ad369f80b82fef6c8b809cd9031ae201762f7fd
tree7742fe1aaeffb7faf6d9ae1e127c87f320be96d1
parent424eff89ddedb1dabe24a26a1d6ee484e97c3d2f
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