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

Merge branch '158521883' into 'master'

"#Fixes::158521883::yogeshwar::after checking with the duplicate prevention,time field is reflecting twice"

See merge request !1080
parents 166b7953 de63fef7
No related branches found
No related tags found
No related merge requests found
......@@ -118,5 +118,11 @@ class Vtiger_Time_UIType extends Vtiger_Base_UIType {
public function getListSearchTemplateName() {
return 'uitypes/TimeFieldSearchView.tpl';
}
public function getDBInsertValue($value) {
if(preg_match('/AM|PM/',$value)){
$value=Vtiger_Time_UIType::getTimeValueWithSeconds($value);
}
return $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