Skip to content

Commit

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

This fix adds a missing parameter in the lorisform_parser.php script.
  • Loading branch information
regisoc authored Nov 1, 2022
1 parent 3792d2a commit 9c2ae64
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tools/lorisform_parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,14 @@
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 9c2ae64

Please # to comment.