Explorar el Código

Fixed a small D6=>D7 conversion bug in tripal_launch_jobs which was only triggered when job_id was passed in

Lacey Sanderson hace 10 años
padre
commit
6f8e8c7eac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tripal_core/api/tripal_core.jobs.api.inc

+ 1 - 1
tripal_core/api/tripal_core.jobs.api.inc

@@ -296,7 +296,7 @@ function tripal_launch_job($do_parallel = 0, $job_id = NULL) {
     $sql =  "SELECT * FROM {tripal_jobs} TJ " .
             "WHERE TJ.start_time IS NULL and TJ.end_time IS NULL and TJ.job_id = :job_id " .
             "ORDER BY priority ASC,job_id ASC";
-    $job_res = db_query($sql, array(':job_id', $job_id));
+    $job_res = db_query($sql, array(':job_id' => $job_id));
   }
   else {
     $sql =  "SELECT * FROM {tripal_jobs} TJ " .