From aca53c540c69496390b172a55a46b817d2828d0f Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Wed, 10 Feb 2010 16:46:59 -0800 Subject: Bug 545541: New Hook: object_columns r=mkanat, a=mkanat (module owner) --- contrib/console.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/console.pl') 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 { -- cgit v1.2.3-24-g4f1b