summaryrefslogtreecommitdiff
path: root/LedgerSMB/Location.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-09 23:15:56 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-09 23:15:56 +0000
commit8327a4959a98ad10eb38974aaaddaa1ff7624bda (patch)
tree28239b730ae8ccac3c79451a6496d6f82371c1cc /LedgerSMB/Location.pm
parent2994f499bc287114d6ad004e5335c4c5c9d337d9 (diff)
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
Diffstat (limited to 'LedgerSMB/Location.pm')
-rw-r--r--LedgerSMB/Location.pm4
1 files changed, 2 insertions, 2 deletions
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 {