diff options
-rw-r--r-- | extensions/BzAPI/lib/Resources/Bug.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BzAPI/lib/Resources/Bug.pm b/extensions/BzAPI/lib/Resources/Bug.pm index d9a2604a9..77b567421 100644 --- a/extensions/BzAPI/lib/Resources/Bug.pm +++ b/extensions/BzAPI/lib/Resources/Bug.pm @@ -668,7 +668,7 @@ sub create_bug_response { return if !exists $$result->{id}; my $bug_id = $$result->{id}; - $$result = { ref => $rpc->type('string', ref_urlbase() . "/bug/$bug_id") }; + $$result->{ref} = $rpc->type('string', ref_urlbase() . "/bug/$bug_id"); $response->code(STATUS_CREATED); } |