summaryrefslogtreecommitdiff
path: root/LedgerSMB/Employee.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Employee.pm')
-rw-r--r--LedgerSMB/Employee.pm4
1 files changed, 2 insertions, 2 deletions
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, @_);
}