X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FGlobal%2FTemplate.html;h=c88d26c44d124b2bb7e8d0ce7d382869e9aca0f9;hp=70b69053b456e23e28224cb66708ae664a538978;hb=919e930aa9279b3c5cd12b593889cd6de79d67bf;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7 diff --git a/rt/share/html/Admin/Global/Template.html b/rt/share/html/Admin/Global/Template.html index 70b69053b..c88d26c44 100755 --- a/rt/share/html/Admin/Global/Template.html +++ b/rt/share/html/Admin/Global/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) @@ -80,7 +80,7 @@ if ($Create) { else { if (defined ($Template) && $Template eq 'new') { - my ($val, $msg) = $TemplateObj->Create(Queue => $Queue, Name => $Name); + my ($val, $msg) = $TemplateObj->Create(Queue => $Queue, Name => $Name, Type => $Type); Abort(loc("Could not create template: [_1]", $msg)) unless ($val); push @results, $msg; } @@ -92,7 +92,7 @@ else { } if ($TemplateObj->Id()) { - 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); @@ -108,4 +108,5 @@ $Queue => '' $Template => '' $Create => '' $Name => '' +$Type => ''