[Vtigercrm-developers] v7 - mailscanner
Tony Sandman
tonysandman999 at gmail.com
Fri Jun 23 11:16:10 GMT 2017
Managed it by adding "?" in
\modules\Settings\MailConverter\models\record.php :
$result = $db->pquery('SELECT * FROM vtiger_mailscanner WHERE scannerid =
?', array($recordId));
as well as in: \modules\Settings\MailConverter\models\RuleRecord.php
$result = $db->pquery('SELECT * FROM vtiger_mailscanner_rules WHERE ruleid
= ?', array($recordId));
Above resolving mailcanner issue.
@ Satish: to cut corners please amend code accordingly. It just little
thing... thnx
ps.
Plan to release another subversion? Like v7.2?
Tony
On Fri, Jun 23, 2017 at 8:45 AM, Tony Sandman <tonysandman999 at gmail.com>
wrote:
>
> Trying to set mailscanner but it returning:
>
> Input array has 1 params, does not match query: 'SELECT * FROM
vtiger_mailscanner WHERE scannerid = '
> Fatal error: Call to a member function getModule() on boolean in
/home/www/public_html/crm/modules/Settings/MailConverter/views/Edit.php on
line 49
>
> Logs shows nothing. Anyone got a clue?
>
> Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20170623/92fff140/attachment.html>
More information about the vtigercrm-developers
mailing list