aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-03 12:18:43 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-03 12:18:43 -0700
commit99ad6a4e8674133c5bb8367d291eb1986c3cee8a (patch)
treea8a0a96bcd9b21d6e0fdc96245f5f423f4c5833b /attachment.cgi
parentBug 567296: Make Bugzilla::Bug use VALIDATOR_DEPENDENCIES instead of (diff)
downloadbugzilla-99ad6a4e8674133c5bb8367d291eb1986c3cee8a.tar.gz
bugzilla-99ad6a4e8674133c5bb8367d291eb1986c3cee8a.tar.bz2
bugzilla-99ad6a4e8674133c5bb8367d291eb1986c3cee8a.zip
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.