diff options
Diffstat (limited to 'rt/share/html/Admin/Queues/Template.html')
| -rwxr-xr-x | rt/share/html/Admin/Queues/Template.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rt/share/html/Admin/Queues/Template.html b/rt/share/html/Admin/Queues/Template.html index 3dd99e1d7..50c29dc24 100755 --- a/rt/share/html/Admin/Queues/Template.html +++ b/rt/share/html/Admin/Queues/Template.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC %# <sales@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -79,7 +79,7 @@ my @results; if ( !$Create ) { if ( $Template eq 'new' ) { my ( $val, $msg ) - = $TemplateObj->Create( Queue => $Queue, Name => $Name ); + = $TemplateObj->Create( Queue => $Queue, Name => $Name, Type => $Type ); Abort( loc( "Could not create template: [_1]", $msg ) ) unless ($val); push @results, $msg; } else { @@ -92,7 +92,7 @@ if ( $TemplateObj->Id() ) { $Queue = $TemplateObj->Queue; $QueueObj = $TemplateObj->QueueObj; - my @attribs = qw( Description Content Queue Name Type ); + my @attribs = qw( Name Description Queue Type Content ); my @aresults = UpdateRecordObject( AttributesRef => \@attribs, Object => $TemplateObj, ARGSRef => \%ARGS @@ -121,4 +121,5 @@ $Queue => '' $Template => '' $Create => undef $Name => undef +$Type => undef </%ARGS> |
