aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-10 16:46:59 -0800
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-10 16:46:59 -0800
commitaca53c540c69496390b172a55a46b817d2828d0f (patch)
tree6d300d90bfb2ac744b192a074428e8ef0b81e1e6 /Bugzilla/Field
parentFix a typo in Object.pm. (diff)
downloadbugzilla-aca53c540c69496390b172a55a46b817d2828d0f.tar.gz
bugzilla-aca53c540c69496390b172a55a46b817d2828d0f.tar.bz2
bugzilla-aca53c540c69496390b172a55a46b817d2828d0f.zip
Bug 545541: New Hook: object_columns
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla/Field')
-rw-r--r--Bugzilla/Field/Choice.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Field/Choice.pm b/Bugzilla/Field/Choice.pm
index 9c2fbdb38..95fb4bf82 100644
--- a/Bugzilla/Field/Choice.pm
+++ b/Bugzilla/Field/Choice.pm
@@ -142,7 +142,7 @@ sub create {
my $class = shift;
my ($params) = @_;
foreach my $key (keys %$params) {
- if (!grep {$_ eq $key} $class->DB_COLUMNS) {
+ if (!grep {$_ eq $key} $class->_get_db_columns) {
delete $params->{$key};
}
}