diff --git a/Application/Base/Service/TestingResourceService.class.php b/Application/Base/Service/TestingResourceService.class.php index 2cde8bc1a..9194c3500 100644 --- a/Application/Base/Service/TestingResourceService.class.php +++ b/Application/Base/Service/TestingResourceService.class.php @@ -517,7 +517,7 @@ class TestingResourceService return $gameResource->getResourceTypes(); } - public function getResources($game, $typeId) + public function getResources($game, $typeId = null) { $gameResource = new GameResource($game); return $gameResource->getResources($typeId);