summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/console.pl2
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 {