Don't try to use Titlecase wrapper if not defined
authorJeff Godin <jgodin@tadl.org>
Thu, 26 Dec 2013 19:54:29 +0000 (14:54 -0500)
committerJeff Godin <jgodin@tadl.org>
Thu, 26 Dec 2013 19:54:29 +0000 (14:54 -0500)
commit80b752afb103e86d7c1cb97b7966ebe33134b59d
tree835a28db4f69188e1a791b57c6169b4b77eef7bd
parent09c85f686d1d91a96f4de6e977a0bc52d0bda237
Don't try to use Titlecase wrapper if not defined

Don't try to call the function passed from Lingua::EN::Titlecase
function if the tc variable is undefined.

This avoids having blank titles when the template is used in an
environment where EGWeb isn't passing the function to the templates.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
templates_tadlskin/opac/parts/misc_util.tt2