From 09a055b2b086ad781534b1d188a8a77d156dcdd5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 2 Apr 2007 14:09:37 +0000 Subject: [PATCH] Bugfix: SQL Fehler bei nicht vorhandenem salesman --- SL/Form.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SL/Form.pm b/SL/Form.pm index 6a1fa813c..d6c7e2c00 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1383,6 +1383,8 @@ sub get_salesman { my ($self, $myconfig, $salesman_id) = @_; + $main::lxdebug->leave_sub() and return unless $salesman_id; + my $dbh = $self->dbconnect($myconfig); my ($login) = -- 2.20.1