Skip to content
Snippets Groups Projects
Commit 1cd10843 authored by Prasad's avatar Prasad
Browse files

Merge branch '158706973' into 'master'

#Fixes::158706973::madhusr::When we edit the custom date field in the 12hrs...

See merge request !1111
parents 827674f0 20812972
No related branches found
No related tags found
1 merge request!1111#Fixes::158706973::madhusr::When we edit the custom date field in the 12hrs...
......@@ -129,7 +129,7 @@ class Settings_LayoutEditor_Field_Action extends Settings_Vtiger_Index_Action {
if (isset($defaultValue)) {
if ($defaultValue && $fieldInfo['type'] == 'date') {
$defaultValue = DateTimeField::convertToUserFormat($defaultValue);
} else if (!$defaultValue) {
} else if ($defaultValue) {
$defaultValue = $fieldInstance->getDisplayValue($defaultValue);
} else if (is_array($defaultValue)) {
foreach ($defaultValue as $key => $value) {
......
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