From 8327a4959a98ad10eb38974aaaddaa1ff7624bda Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 9 Mar 2007 23:15:56 +0000 Subject: Fixing numerous issues with new orm code git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@871 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Location.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LedgerSMB/Location.pm') diff --git a/LedgerSMB/Location.pm b/LedgerSMB/Location.pm index 3c7eda52..95128e51 100644 --- a/LedgerSMB/Location.pm +++ b/LedgerSMB/Location.pm @@ -34,7 +34,7 @@ use LedgerSMB; use LedgerSMB::DBObject; our $VERSION = '1.0.0'; -@ISA = (LedgerSMB::DBObject); +our @ISA = qw(LedgerSMB::DBObject); sub AUTOLOAD { my $procname = "location_$LedgerSMB::Location::Autoload"; @@ -48,7 +48,7 @@ sub save { sub get { $ref = shift @{$self->exec_method('location_get')}; - $self->merge($ref, keys $ref); + $self->merge($ref, keys %{$ref}); } sub search { -- cgit v1.2.3