From 9c2ae645dfa0281729d3a29675fe8c05f1751a66 Mon Sep 17 00:00:00 2001 From: regis Date: Tue, 1 Nov 2022 15:41:54 +0000 Subject: [PATCH] Fix for tools/lorisform_parser (#8201) 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. --- tools/lorisform_parser.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/lorisform_parser.php b/tools/lorisform_parser.php index 09bc00a283a..32f47b71d73 100755 --- a/tools/lorisform_parser.php +++ b/tools/lorisform_parser.php @@ -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);