From 8af0c5a7d5b6b6720ac12251f50897f6ee3f1b63 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 9 Mar 2007 23:44:20 +0000 Subject: Employee.pm is now working as advertised git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@872 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Employee.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LedgerSMB/Employee.pm') diff --git a/LedgerSMB/Employee.pm b/LedgerSMB/Employee.pm index 9ddbbc8f..0aa94961 100644 --- a/LedgerSMB/Employee.pm +++ b/LedgerSMB/Employee.pm @@ -35,10 +35,10 @@ our $VERSION = '1.0.0'; our @ISA = qw(LedgerSMB::DBObject); - sub AUTOLOAD { my $self = shift; - my $procname = "employee_$LedgerSMB::Employee::Autoload"; + $AUTOLOAD =~ s/^.*:://; + my $procname = "employee_$AUTOLOAD"; $self->exec_method($procname, @_); } -- cgit v1.2.3