Skip to content

Commit

Permalink
LIMS-59: Ensure tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Williams committed Oct 12, 2023
1 parent 9bd23f5 commit b3a8193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/Model/Services/AssignData.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ function deactivateDewar($dewarId)
$location = $this->db->pq("SELECT storagelocation FROM dewar WHERE dewarid=:1", array($dewarId));
$this->updateDewarHistory($dewarId, 'unprocessing', $location[0]['STORAGELOCATION']);

$conts = $this->db->pq("SELECT containerid FROM container WHERE dewarid=:1", array($dewarId));
$conts = $this->db->pq("SELECT containerid as id FROM container WHERE dewarid=:1", array($dewarId));
foreach ($conts as $container)
{
$this->updateContainerAndHistory($container['CONTAINERID'], 'at facility', '', '');
$this->updateContainerAndHistory($container['ID'], 'at facility', '', '');
}
}

Expand Down

0 comments on commit b3a8193

Please sign in to comment.