[Vtigercrm-developers] Tickets, Modified Time & Comments

Alan Lord alanslists at gmail.com
Tue Jun 27 12:15:43 GMT 2017

Thanks - this issue will also apply to Portal comment submissions I guess.


On 27/06/17 12:45, cryptic wrote:
> Alan, I think you will find that the modified time is updated if a comment is
> added by a vTiger user. However, if the comment is added through Mail
> Converter it is not. You need to modify the following file-:
> modules/Settings/MailConverter/handlers/MailScannerAction.php
> <code>$date_var = $adb->formatDate(date('YmdHis'), true);
> $usetime = $adb->formatDate($date_var, true);
> $adb->pquery("UPDATE vtiger_crmentity set modifiedtime=? WHERE crmid=?",
> Array($usetime, $linkfocus->id));</code>

More information about the vtigercrm-developers mailing list