Skip to content
Snippets Groups Projects
Commit 79014e99 authored by yogeshwar's avatar yogeshwar
Browse files

#Fixes::157000819::yogeshwar::changes Removed

parent a4875f73
No related branches found
No related tags found
2 merge requests!986#Fixes::157000819::yogeshwar::My preference signature block image upload issue,!956#Fixes::157000819::yogeshwar::My preference signature block image upload issue
......@@ -99,18 +99,7 @@ class Settings_LayoutEditor_Field_Action extends Settings_Vtiger_Index_Action {
$defaultValue = $fieldInstance->get('defaultvalue');
if(!is_null($request->get('fieldDefaultValue', null))) {
if(is_array($request->get('fieldDefaultValue')))
{
$defaultValue=decode_html(implode(', ',$request->get('fieldDefaultValue')));
}
else
{
$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();
......
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