From: janw Date: Wed, 29 Jul 2009 15:38:29 +0000 (+0000) Subject: Add missing '$' to sql statement to actually use the macadress instead of a bare... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6b5a064cf0bef339a085b8053ad854fcbcbe6c2f;p=gosa.git 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 --- 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);