summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-03 21:18:43 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-03 21:18:43 +0200
commit99ad6a4e8674133c5bb8367d291eb1986c3cee8a (patch)
treea8a0a96bcd9b21d6e0fdc96245f5f423f4c5833b /attachment.cgi
parenta476a7bf0f7b9b07bd5c98708aeda2278564eb9e (diff)
downloadbugzilla-99ad6a4e8674133c5bb8367d291eb1986c3cee8a.tar.gz
bugzilla-99ad6a4e8674133c5bb8367d291eb1986c3cee8a.tar.xz
Bug 567846: Modify set_status, set_resolution, and set_dup_id to use
VALIDATOR_DEPENDENCIES, so that they don't need custom code in set_all.
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/attachment.cgi b/attachment.cgi
index b650a3522..cdfcc6bf7 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -515,7 +515,7 @@ sub insert {
&& ($bug_status->name ne 'UNCONFIRMED'
|| $bug->product_obj->allows_unconfirmed))
{
- $bug->set_status($bug_status->name);
+ $bug->set_bug_status($bug_status->name);
$bug->clear_resolution();
}
# Make sure the person we are taking the bug from gets mail.