Dev -> 4.0.6. Clean upgrade from 4.0.5-5.
[usit-rt.git] / share / html / REST / 1.0 / Forms / ticket / links
index e2e1830..bf4f257 100644 (file)
@@ -100,7 +100,8 @@ if ($changes) {
                     my $tick = RT::Ticket->new($session{CurrentUser});
                     $tick->Load($nkey);
                     if ($tick->Id) {
-                        $nkey = $uri->FromObject($tick);
+                        $uri->FromObject($tick);
+                        $nkey = $uri->URI;
                     }
                     else {
                         $n = 0;