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

Uma S uma.s at vtiger.com
Tue Mar 31 07:38:09 GMT 2015


Hi,

Thanks! for notification.

We have raised a ticket for same here in trac
<http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8525>, will update fix soon.

On Mon, Mar 30, 2015 at 3:55 PM, apcloic <apcloic at gmail.com> wrote:

> 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.
> _______________________________________________
> http://www.vtiger.com/
>



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150331/ebdb5007/attachment.html>


More information about the vtigercrm-developers mailing list