From 683e76d2c4f4ead5570f19cdab733d5b531e7226 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 13 May 2009 14:09:18 +0000 Subject: [PATCH] =?utf8?q?makemode.make=20ist=20ein=20Textfeld=20und=20dar?= =?utf8?q?f=20nicht=20mit=20ids=20(integers)=20geunioned=20werden.=20F?= =?utf8?q?=C3=BCr=20die=20reine=20=C3=9Cberpr=C3=BCfung=20auf=20Existenz?= =?utf8?q?=20reicht=20hier=20auch=20eine=201.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/CT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/CT.pm b/SL/CT.pm index 79169b5d2..1522e0f83 100644 --- a/SL/CT.pm +++ b/SL/CT.pm @@ -127,7 +127,7 @@ sub get_tuple { my $num_args = 2; my $makemodel = ''; if ($form->{db} eq 'vendor') { - $makemodel = qq| UNION SELECT mm.make FROM makemodel mm WHERE mm.make = ?|; + $makemodel = qq| UNION SELECT 1 FROM makemodel mm WHERE mm.make = ?|; $num_args++; } -- 2.20.1