From 78d5b7daee2a8e8e31257665e960873db06c8149 Mon Sep 17 00:00:00 2001 From: "yogeshwar.g" <yogeshwar.g@vtigersolutions.com> Date: Fri, 12 Jan 2024 12:37:28 +0530 Subject: [PATCH] #Fixes::157349776::yogeshwar::Changes Removed --- modules/Settings/LayoutEditor/actions/Field.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/Settings/LayoutEditor/actions/Field.php b/modules/Settings/LayoutEditor/actions/Field.php index 2e22908e3..33569309f 100644 --- a/modules/Settings/LayoutEditor/actions/Field.php +++ b/modules/Settings/LayoutEditor/actions/Field.php @@ -100,10 +100,6 @@ class Settings_LayoutEditor_Field_Action extends Settings_Vtiger_Index_Action { $defaultValue = $fieldInstance->get('defaultvalue'); if(!is_null($request->get('fieldDefaultValue', null))) { $defaultValue = decode_html($request->get('fieldDefaultValue')); - if(preg_match('/AM|PM/',$defaultValue) && ($fieldInstance->get('uitype') =='14')) - { - $defaultValue=Vtiger_Time_UIType::getTimeValueWithSeconds($defaultValue); - } $fieldInstance->set('defaultvalue', $defaultValue); } $response = new Vtiger_Response(); -- GitLab