From: janw Date: Tue, 4 Aug 2009 08:32:12 +0000 (+0000) Subject: Reflect last change in sql statement. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b796b1d2d41ab4eb2303d2b3c8c753b87de1d5de;p=gosa.git Reflect last change in sql statement. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13969 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 4cd890301..81c0618e4 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1108,7 +1108,7 @@ sub reactivate_job_with_delay { if (not defined $delay) { $delay = 30 } ; my $delay_timestamp = &calc_timestamp(&get_time(), "plus", $delay); - my $sql = "UPDATE $job_queue_tn Set timestamp='$delay_timestamp', status='waiting' WHERE (macaddress LIKE '$target' AND headertag='$header')"; + my $sql = "UPDATE $job_queue_tn Set timestamp='$delay_timestamp', status='waiting' WHERE (macaddress LIKE '$target' OR plainname LIKE '$target') AND headertag='$header'"; my $res = $job_db->update_dbentry($sql); daemon_log("$session_id INFO: '$header'-job will be reactivated at '$delay_timestamp' ". "cause client '$target' is currently not available", 5);