Code

fixed sql statement (id is numeric not string)
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Apr 2008 09:26:53 +0000 (09:26 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Apr 2008 09:26:53 +0000 (09:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10638 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index 2fbc8be721324cb6ff7373f5df620ca0079306a4..612e01436e23a97e714b42aeff87bc46e63dad8d 100755 (executable)
@@ -1292,7 +1292,7 @@ sub watch_for_new_jobs {
                                defined($hits->{$macaddress}->{$headertag}) &&
                                defined($hits->{$macaddress}->{$headertag}[0])
                        ) {
-                               push @drops, "DELETE FROM $job_queue_tn WHERE id = '$hits->{$macaddress}->{$headertag}[0]'";
+                               push @drops, "DELETE FROM $job_queue_tn WHERE id = $hits->{$macaddress}->{$headertag}[0]";
                        }
                        $hits->{$macaddress}->{$headertag}= $hit;
                }