Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tools] Fix to prevent fatal in fix_candidate_age.php #7546

Merged
merged 2 commits into from
Aug 26, 2021

Conversation

laemtl
Copy link
Contributor

@laemtl laemtl commented Aug 23, 2021

Fixes #7545

@laemtl laemtl added the Category: Bug PR or issue that aims to report or fix a bug label Aug 23, 2021
@laemtl laemtl requested review from ridz1208 August 23, 2021 19:11
Comment on lines 22 to 31
$instruments = \NDB_BVL_Instrument::getInstrumentsList(
new \LORIS\LorisInstance(
$DB,
$config,
[
__DIR__ . "/../../project/modules",
__DIR__ . "/../../modules/",
],
)
);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@laemtl could you define the lorisinstance in the generic_includes.php so all tools can use it ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ridz1208 Sure!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ridz1208 Done.

@laemtl laemtl force-pushed the 2021-08-23-tools-fix-candidate-age-fix branch from d0f6c97 to ae4baa0 Compare August 23, 2021 19:20
@laemtl laemtl added "Help! I don't understand Travis!" PR is having a beef with TRAVIS. Someone needs to help and removed "Help! I don't understand Travis!" PR is having a beef with TRAVIS. Someone needs to help labels Aug 23, 2021
@driusan driusan merged commit 30687ad into aces:main Aug 26, 2021
@ridz1208 ridz1208 added this to the 24.0.0 milestone Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Bug PR or issue that aims to report or fix a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Tools] Fix candidate age throws a fatal
3 participants