diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-11 01:46:59 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-02-11 01:46:59 +0100 |
commit | aca53c540c69496390b172a55a46b817d2828d0f (patch) | |
tree | 6d300d90bfb2ac744b192a074428e8ef0b81e1e6 /contrib | |
parent | d4f7ab1e416445c9a56a9da93eddc536099d22c2 (diff) | |
download | bugzilla-aca53c540c69496390b172a55a46b817d2828d0f.tar.gz bugzilla-aca53c540c69496390b172a55a46b817d2828d0f.tar.xz |
Bug 545541: New Hook: object_columns
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/console.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/console.pl b/contrib/console.pl index e9d06cd94..408fdef61 100755 --- a/contrib/console.pl +++ b/contrib/console.pl @@ -96,7 +96,7 @@ sub get_object { elsif (m/^\d+$/) { @results = ($class->new($_)); } - elsif (m/\w/i && grep {$_ eq 'name'} ($class->DB_COLUMNS)) { + elsif (m/\w/i && grep {$_ eq 'name'} ($class->_get_db_columns)) { @results = @{$class->match({name => $_})}; } else { |