From eda8d185d9230b47f2795978c68bdc55a8bea438 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 12 Mar 2012 13:48:24 +0100 Subject: [PATCH] =?utf8?q?Dusselfehler=20von=20gerade=20noch=20beim=20diff?= =?utf8?q?-Pr=C3=BCfen=20gesehen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Form.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Form.pm b/SL/Form.pm index 07e3d3e6b..050614d56 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -2550,7 +2550,7 @@ sub all_vc { # OHNE Auswahlliste (reines Textfeld) zu laden. Hilft aber auch # nicht für veränderbare Belege (oe, do, ...) my $obsolete = "WHERE NOT obsolete" unless $self->{id}; - my $query = qq|SELECT count(*) FROM $table WHERE NOT $obsolete|; + my $query = qq|SELECT count(*) FROM $table $obsolete|; my ($count) = selectrow_query($self, $dbh, $query); if ($count < $myconfig->{vclimit}) { -- 2.20.1