diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-01-19 11:31:40 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-01-19 11:31:40 -0800 |
| commit | 4c775d58b5dbb4fae05f303a612c781eaaf3a56f (patch) | |
| tree | 0eca77638f454ebf49146067fdcdd0efee2e9a3d /rt/share/html/Ticket/Create.html | |
| parent | 71dbaf665d70de080f9dc7a02e1ff1a1f651a416 (diff) | |
| parent | 576d11eecd4aac143ac5d103b056060e2baaf4ed (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'rt/share/html/Ticket/Create.html')
| -rwxr-xr-x | rt/share/html/Ticket/Create.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rt/share/html/Ticket/Create.html b/rt/share/html/Ticket/Create.html index 0419126c6..8c6a58ad0 100755 --- a/rt/share/html/Ticket/Create.html +++ b/rt/share/html/Ticket/Create.html @@ -293,8 +293,8 @@ if ($CloneTicket) { }; $clone->{$_} = $CloneTicketObj->$_() - for qw/Owner Subject FinalPriority TimeEstimated TimeWorked - Status TimeLeft/; + for qw/Owner Subject FinalPriority Status/; + # not TimeWorked, TimeEstimated, or TimeLeft $clone->{$_} = $CloneTicketObj->$_->AsString for grep { $CloneTicketObj->$_->Unix } @@ -330,6 +330,7 @@ if ($CloneTicket) { my $cfs = $CloneTicketObj->QueueObj->TicketCustomFields(); while ( my $cf = $cfs->Next ) { + next if $cf->FirstAttribute('NoClone'); my $cf_id = $cf->id; my $cf_values = $CloneTicketObj->CustomFieldValues( $cf->id ); my @cf_values; |
