X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FREST%2F1.0%2FForms%2Fqueue%2Fticketcustomfields;h=4eeebd87ea2051ae31825a0d865ad174c33deea3;hb=de9d037528895f7151a9aead6724ce2df95f9586;hp=61ca19da8493b4e26a6fab8f51f2ec46f8c0b1a6;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/REST/1.0/Forms/queue/ticketcustomfields b/rt/share/html/REST/1.0/Forms/queue/ticketcustomfields index 61ca19da8..4eeebd87e 100644 --- a/rt/share/html/REST/1.0/Forms/queue/ticketcustomfields +++ b/rt/share/html/REST/1.0/Forms/queue/ticketcustomfields @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -55,7 +55,7 @@ $changes => {} <%perl> my @comments; my ($c, $o, $k, $e) = ("", [], {}, 0); -my $queue = new RT::Queue $session{CurrentUser}; +my $queue = RT::Queue->new($session{CurrentUser}); $queue->Load($id); if (!$queue->Id) { @@ -71,7 +71,7 @@ if (%$changes) { my @data; push @data, [ id => "queue/" . $queue->Id ]; -my $qcfs = RT::CustomFields->new($session{CurrentUser}); +my $qcfs = RT::CustomFields->new($session{CurrentUser});; $qcfs->LimitToGlobalOrQueue($id); while ( my $qcf = $qcfs->Next() ) { if ( $format eq "l" ) {