[Vtigercrm-developers] User Module --> Custom date field problem

apcloic apcloic at gmail.com
Mon Mar 30 10:25:08 GMT 2015


Ok, so I've fixed it by adding the following condition in function
insertIntoEntityTable on /modules/Users/Users.php

Around line 876, after this condition :

<code>
elseif($uitype == 33) {
...
}
</code>

Add :

<code>
                elseif($uitype == 5) {
                     $fldvalue =
getValidDBInsertDateValue($this->column_fields[$fieldname]);
		}
</code>

I don't know why uitype 5 (date fields) are not converted to valid database
date format by default like for other modules.

Regards,






--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/User-Module-Custom-date-field-problem-tp15649p15716.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.


More information about the vtigercrm-developers mailing list