[Vtigercrm-commits] [Vtiger development] #8553: code bug in Vtiger_Module_Model
Vtiger development
vtiger-tickets at trac.vtiger.com
Mon May 4 07:14:59 GMT 2015
#8553: code bug in Vtiger_Module_Model
------------------------+-----------------------
Reporter: manu | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 6.3.0
Component: vtigercrm | Version: 6.2.0
Severity: Medium | Keywords:
------------------------+-----------------------
In Vtiger_Module_Model,I think it make a little bug.
I think the type and set type is not right.
In the getInstance() api of Vtiger_Module_Model
{{{
if (is_string($value)) {
Vtiger_Cache::set('module',
$moduleObject->id, $instance);
} else if (is_int($value)) {
Vtiger_Cache::set('module',
$moduleObject->name, $instance);
}
}}}
If the $value is string ,it is passing Id value to cache set api(), where
it should send the name element.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8553>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list