forked from Wavyzz/dolibarr
Fix error message
This commit is contained in:
@@ -1667,7 +1667,7 @@ class Setup extends DolibarrApi
|
||||
}
|
||||
if ($xmlremote && !preg_match('/\.xml$/', $xmlremote)) {
|
||||
$langs->load("errors");
|
||||
throw new RestException(500, $langs->trans("ErrorURLMustEndWith", '.xml'));
|
||||
throw new RestException(500, $langs->trans("ErrorURLMustEndWith", $xmlremote, '.xml'));
|
||||
}
|
||||
|
||||
if ($target == 'local') {
|
||||
|
||||
Reference in New Issue
Block a user