[Vtigercrm-commits] [vtiger development] #7644: Mobile Module API: Permission denied with fetchRecordWithGrouping

vtiger development vtiger-tickets at trac.vtiger.com
Tue Feb 12 13:29:24 PST 2013


#7644: Mobile Module API: Permission denied with fetchRecordWithGrouping
------------------------+---------------------------------------------------
 Reporter:  prasad      |        Owner:  developer 
     Type:  defect      |       Status:  new       
 Priority:  unassigned  |    Milestone:  Unassigned
Component:  vtigercrm   |      Version:  5.4.0     
 Severity:  Medium      |   Resolution:            
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by prasad):

 If $id has been resolved ... pass on.

 {{{
 function fetchRecordLabelForId($id, $user) {
                 $value = null;

                 if (isset($this->resolvedValueCache[$id])) {
                         $value = $this->resolvedValueCache[$id];

                 } else if(!empty($id) && !is_array($id)) { // BUG FIx

                         $value = trim(vtws_getName($id, $user));
                         $this->resolvedValueCache[$id] = $value;
                 } else {
                         $value = $id;
                 }
                 return $value;
         }
 }}}

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7644#comment:1>
vtiger development <http://trac.vtiger.com/>
vtiger CRM



More information about the vtigercrm-commits mailing list