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);