From cf9822f370cd32c100e3e550415089c171ae70b3 Mon Sep 17 00:00:00 2001 From: satish <satish.dvnk@vtiger.com> Date: Wed, 14 Sep 2016 18:16:44 +0530 Subject: [PATCH] Fixes #152 - Bug: Field not translated - Webforms --- include/utils/InventoryUtils.php | 2 +- pkg/vtiger/modules/Webforms/settings/models/Block.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/utils/InventoryUtils.php b/include/utils/InventoryUtils.php index 64040ee93..63ad933d0 100644 --- a/include/utils/InventoryUtils.php +++ b/include/utils/InventoryUtils.php @@ -457,7 +457,7 @@ function updateInventoryProductRel($entity) { $statusChanged = false; $vtEntityDelta = new VTEntityDelta (); - $oldEntity = $vtEntityDelta-> getOldValue($moduleName, $entity_id, $statusFieldName); + $oldEntity = $vtEntityDelta->getOldValue($moduleName, $entity_id, $statusFieldName); $recordDetails = $entity->getData(); $statusChanged = $vtEntityDelta->hasChanged($moduleName, $entity_id, $statusFieldName); if($statusChanged) { diff --git a/pkg/vtiger/modules/Webforms/settings/models/Block.php b/pkg/vtiger/modules/Webforms/settings/models/Block.php index e712f776f..336bf4fd9 100644 --- a/pkg/vtiger/modules/Webforms/settings/models/Block.php +++ b/pkg/vtiger/modules/Webforms/settings/models/Block.php @@ -25,7 +25,7 @@ class Settings_Webforms_Block_Model extends Vtiger_Block_Model { 'name' => array( 'uitype' => '1', 'name' => 'name', - 'label' => 'Webform Name', + 'label' => 'WebForm Name', 'typeofdata' => 'V~M', 'diplaytype' => '1', ), -- GitLab