Code

change function get_where_statement, to handle the INTEGER column id
[gosa.git] / 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;
                }