X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FREST%2F1.0%2FForms%2Fqueue%2Fticketcustomfields;h=abbfa8ea84c98080f86fcc8c7106c60b8929275f;hb=43a06151e47d2c59b833cbd8c26d97865ee850b6;hp=61ca19da8493b4e26a6fab8f51f2ec46f8c0b1a6;hpb=6587f6ba7d047ddc1686c080090afe7d53365bd4;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..abbfa8ea8 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-2012 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" ) {