From: rettenbe Date: Thu, 7 May 2009 07:37:38 +0000 (+0000) Subject: recheckin of patch r12833 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=38da8a42547e4a6ab03b449259a6227a6c3d35a5;p=gosa.git recheckin of patch r12833 git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13626 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-si/server/events/mailqueue_com.pm b/trunk/gosa-si/server/events/mailqueue_com.pm index 87642ebd0..d464db371 100644 --- a/trunk/gosa-si/server/events/mailqueue_com.pm +++ b/trunk/gosa-si/server/events/mailqueue_com.pm @@ -87,7 +87,7 @@ sub mailqueue_query { my ($sql, $res); if( defined $jobdb_id) { - my $sql_statement = "UPDATE $main::job_queue_tn SET status='processed' WHERE id=jobdb_id"; + my $sql_statement = "UPDATE $main::job_queue_tn SET status='processed' WHERE id=$jobdb_id"; &main::daemon_log("$session_id DEBUG: $sql_statement", 7); my $res = $main::job_db->exec_statement($sql_statement); } @@ -170,7 +170,7 @@ sub mailqueue_header { my ($sql, $res); if( defined $jobdb_id) { - my $sql_statement = "UPDATE $main::job_queue_tn SET status='processed' WHERE id=jobdb_id"; + my $sql_statement = "UPDATE $main::job_queue_tn SET status='processed' WHERE id=$jobdb_id"; &main::daemon_log("$session_id DEBUG: $sql_statement", 7); my $res = $main::job_db->exec_statement($sql_statement); }