X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FQueues%2FTemplate.html;h=8e4cd23626efd18288a9ce4d978096ab35f0a289;hb=31f3763747b82764bb019cfab5b2a2945fc9a99d;hp=3dd99e1d7252f408a266d88896293249de484ea9;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;p=freeside.git diff --git a/rt/share/html/Admin/Queues/Template.html b/rt/share/html/Admin/Queues/Template.html index 3dd99e1d7..8e4cd2362 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-2015 Best Practical Solutions, LLC %# %# %# (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