[rt-users] Back to my Dynamic template choosing Scrip problem...
Landon Stewart
lstewart at iweb.com
Mon Oct 7 15:48:08 EDT 2013
On 7 October 2013 12:43, Ruslan Zakirov <ruz at bestpractical.com> wrote:
> Typo in my code made it less clear, it should have been:
>
> foreach my $name ("$orig_name $case_type $lang", "$orig_name $lang" ) {
> ...
> }
>
> Idea is to look first for template with more detailed name, then look for
> name without case type, but language specific, then fallback to default in
> case all are absent.
>
Oh that makes complete sense now. Thanks again.
--
Landon Stewart :: lstewart at iweb.com
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité
http://iweb.com :: +1 (888) 909-4932
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20131007/30e905ce/attachment.htm>
More information about the rt-users
mailing list