From d38eff8e5d736db4b2fee3834e1314a4efd9d3f1 Mon Sep 17 00:00:00 2001 From: Jonas Raoni Soares da Silva Date: Thu, 11 Apr 2024 13:34:16 +0300 Subject: [PATCH] #61 Fixed typo --- classes/DepositDAO.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/DepositDAO.inc.php b/classes/DepositDAO.inc.php index f0cc628..13ac489 100644 --- a/classes/DepositDAO.inc.php +++ b/classes/DepositDAO.inc.php @@ -233,7 +233,7 @@ public function getNeedTransferring($journalId) { AND d.status & ? <> 0 AND d.status & ? = 0 ORDER BY d.export_deposit_error, CASE - WHEN d.export_deposit_error, '') = '' THEN d.deposit_id + WHEN COALESCE(d.export_deposit_error, '') = '' THEN d.deposit_id ELSE {$this->getRandomFunction()} END", [ @@ -258,7 +258,7 @@ public function getNeedPackaging($journalId) { WHERE d.journal_id = ? AND d.status & ? = 0 ORDER BY d.export_deposit_error, CASE - WHEN d.export_deposit_error, '') = '' THEN d.deposit_id + WHEN COALESCE(d.export_deposit_error, '') = '' THEN d.deposit_id ELSE {$this->getRandomFunction()} END", [ @@ -288,7 +288,7 @@ public function getNeedStagingStatusUpdate($journalId) { ) ) ORDER BY d.export_deposit_error, CASE - WHEN d.export_deposit_error, '') = '' THEN d.deposit_id + WHEN COALESCE(d.export_deposit_error, '') = '' THEN d.deposit_id ELSE {$this->getRandomFunction()} END", [