diff options
Diffstat (limited to 'LedgerSMB/DBObject/Admin.pm')
-rw-r--r-- | LedgerSMB/DBObject/Admin.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/DBObject/Admin.pm b/LedgerSMB/DBObject/Admin.pm index e16e5dea..362d0c39 100644 --- a/LedgerSMB/DBObject/Admin.pm +++ b/LedgerSMB/DBObject/Admin.pm @@ -267,7 +267,7 @@ sub get_countries { sub get_contact_classes { my $self = shift @_; - my $sth = $self->{dbh}->prepare("select id, class as classname from contact_class"); + my $sth = $self->{dbh}->prepare("select id, class as name from contact_class"); my $code = $sth->execute(); return $sth->fetchall_arrayref({}); } |