diff --git a/entity/Communication_entity/entityfields/addr/valueProcess.js b/entity/Communication_entity/entityfields/addr/valueProcess.js index 64ebd499996180f558787e6a291620ef0a6f8e05..2a497dc2fe3ebf609965ae757041b482dea378be 100644 --- a/entity/Communication_entity/entityfields/addr/valueProcess.js +++ b/entity/Communication_entity/entityfields/addr/valueProcess.js @@ -30,8 +30,7 @@ if (recordstate == neon.OPERATINGSTATE_NEW || recordstate == neon.OPERATINGSTATE case "TELEPHONE": // Phone if(addr.length > 5) { - var formatted = cti.formatPhoneNumber(addr, true, vars.get("$param.ContactsMainCountry_param")) - result.string(cti.formatPhoneNumber(addr, true, vars.get("$param.ContactsMainCountry_param"))) + result.string(cti.formatPhoneNumber(addr, true, vars.get("$param.ContactsMainCountry_param"))); } break; default: diff --git a/process/blobHandler/process.js b/process/blobHandler/process.js index ce84590c95bd6ad04f2e89398ca3e688dfdb0cf3..033acdcb9f9e559cd4224de86c3b18e5d5e7e0d1 100644 --- a/process/blobHandler/process.js +++ b/process/blobHandler/process.js @@ -33,22 +33,22 @@ if (operation) function createBlob (path, filename) { - _writeBlob(path + filename + ".0") + _writeBlob(path + filename ) } function deleteBlob (path, filename) { - fileIO.remove(path + filename + ".0"); + fileIO.remove(path + filename ); } function updateBlob (path, filename) { - _writeBlob(path + filename + ".0"); + _writeBlob(path + filename ); } function readBlob (path, filename) { - var fullPath = path + filename + ".0"; + var fullPath = path + filename; var fromWhereCond = " from ASYS_BINARIES where ID = '" + filename + "'"; sqlHelper = new SqlMaskingUtils();