Code

Fixed typo.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 22 Apr 2008 07:18:09 +0000 (07:18 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 22 Apr 2008 07:18:09 +0000 (07:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10600 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index 0f3b33c9e8a1d184cf111b9d48064b50ef0687e0..f33f90a42cbc7a2d768905ae979854b3fd7c0d26 100755 (executable)
@@ -1295,7 +1295,7 @@ sub watch_for_new_jobs {
        foreach my $macaddress (keys %{$hits}) {
                foreach my $jobdb_headertag (keys %{$hits->{$macaddress}}) {
                        my $jobdb_id = @{$hits->{$macaddress}->{$jobdb_headertag}}[0];
-                       if(defined($job_db_id)) {
+                       if(defined($jobdb_id)) {
                                my $sql_statement = "SELECT * FROM $job_queue_tn WHERE macaddress LIKE '$macaddress' AND headertag='$jobdb_headertag' AND status='processing'";
                                my $res = $job_db->exec_statement( $sql_statement );
                                foreach my $hit (@{$res}) {