From: Jan Büren Date: Mon, 4 May 2009 16:04:47 +0000 (+0000) Subject: Debug-Code entfernt X-Git-Tag: release-2.6.0beta2~66 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e2e2ed862870a67293c234c04a0b76675849393e;p=kivitendo-erp.git Debug-Code entfernt --- diff --git a/SL/Common.pm b/SL/Common.pm index cb381591d..51cec862f 100644 --- a/SL/Common.pm +++ b/SL/Common.pm @@ -57,8 +57,6 @@ sub retrieve_parts { $filter .= qq| AND ($_ ILIKE ?)|; push @filter_values, '%' . $form->{$_} . '%'; } -$main::lxdebug->dump(0, "assemblies in common", $form->{assemblies}); -$main::lxdebug->dump(0, "no assemblies in common", $form->{no_assemblies}); if ($form->{no_assemblies}) { $filter .= qq| AND (NOT COALESCE(assembly, FALSE))|; @@ -85,12 +83,7 @@ $main::lxdebug->dump(0, "no assemblies in common", $form->{no_assemblies}); qq|ORDER BY $order_by $order_dir|; my $sth = $dbh->prepare($query); $sth->execute(@filter_values) || $form->dberror($query . " (" . join(", ", @filter_values) . ")"); - -$main::lxdebug->dump(0, "query", $query); - -$main::lxdebug->dump(0, "values", @filter_values); - - + open STDERR, ">>/usr/local/src/lxoffice/users/de.log" or die $!; print STDERR "hier:" . $query . "filter " . $filter . "filterwerte:" . $filter_values[0] . "\n"; close STDERR; my $parts = []; while (my $ref = $sth->fetchrow_hashref()) { push(@{$parts}, $ref);