Commit 9547360d authored by Zander Potgieter's avatar Zander Potgieter Committed by Robert Lyon
Browse files

Bug 1912705 - export_process_queue() fails on cron run.

Patch supplied by Zander Potgieter.

Change-Id: I7c4ed364d6e2d07ab0d3ef4c3f4b4852b4a07504
(cherry picked from commit 13489337)
parent d29d2edb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -599,7 +599,7 @@ function export_add_to_queue($object, $external = null, $submitter = null, $type
 * @param string $id  Specify which row of export_queue table you want to run - could be used for debugging purposes
 */
function export_process_queue($id = false) {

    global $exporter;
    $where = 'starttime IS NULL';
    $values = array();
    if ($id) {