Skip to content

Commit

Permalink
Fix for tools/lorisform_parser
Browse files Browse the repository at this point in the history
Following aces#7446, one of the changes involves
`php/libraries/NullModule.class.inc` that now requires a
`LorisInstance` type parameter.

This fix adds this parameter in the lorisform_parser.php script.
  • Loading branch information
regisoc committed Oct 27, 2022
1 parent fe21f3a commit 0033353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lorisform_parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
echo "Requiring file...\n";
include_once $file;
echo "Instantiating new object...\n";
$obj =new $className($lorisInstance, new NullModule(), "", "", "", "");
$obj =new $className($lorisInstance, new NullModule($lorisInstance), "", "", "", "");
echo "Initializing instrument object...\n";
$obj->setup(null, null);

Expand Down

0 comments on commit 0033353

Please # to comment.