summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LedgerSMB/Form.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index e205c0de..ba460bc6 100644
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -845,7 +845,6 @@ sub get_my_emp_num {
WHERE login = ?|;
my $sth = $dbh->prepare($query);
$sth->execute( $form->{login} ) || $form->dberror($query);
- $sth->execute;
my ($id) = $sth->fetchrow_array;
$sth->finish;