diff options
Diffstat (limited to 'LedgerSMB/Employee.pm')
-rw-r--r-- | LedgerSMB/Employee.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/LedgerSMB/Employee.pm b/LedgerSMB/Employee.pm index 59a550f2..e792aa84 100644 --- a/LedgerSMB/Employee.pm +++ b/LedgerSMB/Employee.pm @@ -48,10 +48,7 @@ our $VERSION = '1.0.0'; sub save { my $self = shift; - - my $person = shift @{ $self->exec_method (procname => 'person_save', - args => [] )}; - + my $hashref = shift @{ $self->exec_method( procname => "employee_save" ) }; $self->merge( $hashref, 'id' ); } |