From: Sven Schöling Date: Mon, 2 Apr 2007 14:09:37 +0000 (+0000) Subject: Bugfix: SQL Fehler bei nicht vorhandenem salesman X-Git-Tag: release-2.4.3^2~540 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=09a055b2b086ad781534b1d188a8a77d156dcdd5;p=kivitendo-erp.git Bugfix: SQL Fehler bei nicht vorhandenem salesman --- 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) =