Skip to content

Commit

Permalink
Handle single instrument case in migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Mar 15, 2023
1 parent 5d947eb commit 88b56c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/single_use/migrate_instrument_permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
return;
}

foreach ($configSettings['instrument'] as $row) {
foreach (\Utility::associativeToNumericArray($configSettings['instrument']) as $row) {
$testID = $DB->pselectOne(
"SELECT ID FROM test_names WHERE test_name=:tn",
['tn' => $row['Test_name']],
Expand Down

0 comments on commit 88b56c1

Please sign in to comment.