diff options
author | David Lawrence <dkl@mozilla.com> | 2014-08-26 21:10:02 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-08-26 21:10:02 +0200 |
commit | bfc1cfe2b6f723b260d90363b7eccbb8e3297f89 (patch) | |
tree | 014ab81a7e5d818263daa9cb9ae5919abbe14c73 /extensions | |
parent | f95d29501ddc10e788eac9859cf57bdb59ac29d3 (diff) | |
download | bugzilla-bfc1cfe2b6f723b260d90363b7eccbb8e3297f89.tar.gz bugzilla-bfc1cfe2b6f723b260d90363b7eccbb8e3297f89.tar.xz |
Bug 1058679: new bug API returning a ref where bzexport expects bug data
Diffstat (limited to 'extensions')
-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); } |