From a94f8572f1ecdf82b8ff11fe8424b00f42ba99dc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 2 Apr 2020 12:53:41 +0200 Subject: [PATCH] Update api_setup.class.php --- htdocs/api/class/api_setup.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/api/class/api_setup.class.php b/htdocs/api/class/api_setup.class.php index 15493159110..1b619acfeb7 100644 --- a/htdocs/api/class/api_setup.class.php +++ b/htdocs/api/class/api_setup.class.php @@ -407,11 +407,11 @@ class Setup extends DolibarrApi * * @param object $object Object with label to translate * @param string $lang Code of the language the name of the object must be translated to - * @param string $prefix Prefix for translation + * @param string $prefix Prefix for translation key * * @return void */ - private function translateLabel($object, $lang, $prefix) + private function translateLabel($object, $lang, $prefix = 'Country') { if (!empty($lang)) { // Load the translations if this is a new language.