From 6b5a064cf0bef339a085b8053ad854fcbcbe6c2f Mon Sep 17 00:00:00 2001 From: janw Date: Wed, 29 Jul 2009 15:38:29 +0000 Subject: [PATCH] Add missing '$' to sql statement to actually use the macadress instead of a bare word. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13960 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 283eb1d66..2b4b11384 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1099,7 +1099,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' 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); -- 2.30.2