diff --git a/app/agents/QuesttypeAgent.inc b/app/agents/QuesttypeAgent.inc index b762df1e..36232f6f 100644 --- a/app/agents/QuesttypeAgent.inc +++ b/app/agents/QuesttypeAgent.inc @@ -99,7 +99,7 @@ * @param string $agentType Agent type of given Agent name * @return string Classname for the Questtype-name */ - private static function getClassName($questtypeName, $agentType) + private static function getClassName($questtypeName, $agentType=null) { $className = \nre\core\ClassLoader::concatClassNames($questtypeName, \nre\core\ClassLoader::stripClassType(\nre\core\ClassLoader::stripNamespace(get_class())), 'agent');