Skip to content
Snippets Groups Projects
Commit 85ca020e authored by Satish's avatar Satish
Browse files

Fixes #748 - Vtiger 7.1: Webservice describe operation does not return correct labels

parent 06cd0dc8
No related branches found
No related tags found
2 merge requests!311Language italian translation,!280Fixes #744, #745, #746, #748, #750, #758, #760, #762
......@@ -10,7 +10,15 @@
function vtws_describe($elementType,$user){
global $log,$adb;
global $log,$adb,$app_strings;
//setting $app_strings
if (!$app_strings) {
$currentLanguage = Vtiger_Language_Handler::getLanguage();
$moduleLanguageStrings = Vtiger_Language_Handler::getModuleStringsFromFile($currentLanguage);
$app_strings = $moduleLanguageStrings['languageStrings'];
}
$webserviceObject = VtigerWebserviceObject::fromName($adb,$elementType);
$handlerPath = $webserviceObject->getHandlerPath();
$handlerClass = $webserviceObject->getHandlerClass();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment