Skip to content
Snippets Groups Projects
Commit 78d5b7da authored by yogeshwar's avatar yogeshwar
Browse files

#Fixes::157349776::yogeshwar::Changes Removed

parent 3580c077
No related branches found
No related tags found
1 merge request!954#Fixes::157349776::yogeshwar::task priority picklist is not displaying properly
...@@ -100,10 +100,6 @@ class Settings_LayoutEditor_Field_Action extends Settings_Vtiger_Index_Action { ...@@ -100,10 +100,6 @@ class Settings_LayoutEditor_Field_Action extends Settings_Vtiger_Index_Action {
$defaultValue = $fieldInstance->get('defaultvalue'); $defaultValue = $fieldInstance->get('defaultvalue');
if(!is_null($request->get('fieldDefaultValue', null))) { if(!is_null($request->get('fieldDefaultValue', null))) {
$defaultValue = decode_html($request->get('fieldDefaultValue')); $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); $fieldInstance->set('defaultvalue', $defaultValue);
} }
$response = new Vtiger_Response(); $response = new Vtiger_Response();
......
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