diff --git a/tools/lorisform_parser.php b/tools/lorisform_parser.php index 09bc00a283a..5a213009e37 100755 --- a/tools/lorisform_parser.php +++ b/tools/lorisform_parser.php @@ -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);