[Fixed] MailScanner setup and edit modal
The pquery in the model Record.php on row 331 is missing the '?' for the $recordId param.
Before:
$result = $db->pquery('SELECT * FROM vtiger_mailscanner WHERE scannerid = ', array($recordId));
After:
$result = $db->pquery('SELECT * FROM vtiger_mailscanner WHERE scannerid = ?', array($recordId));
Also the method that return the modal for rules editing has a pquery without a param.
File: RuleRecord.php on row 183
Before:
$result = $db->pquery('SELECT * FROM vtiger_mailscanner_rules WHERE ruleid = ', array($recordId));
After:
$result = $db->pquery('SELECT * FROM vtiger_mailscanner_rules WHERE ruleid = ?', array($recordId));