Skip to content

Commit

Permalink
#61 Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Apr 11, 2024
1 parent b20c8f7 commit d38eff8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions classes/DepositDAO.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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",
[
Expand All @@ -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",
[
Expand Down Expand Up @@ -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",
[
Expand Down

0 comments on commit d38eff8

Please sign in to comment.