[Vtigercrm-commits] [vtiger development] #6430: use of uitype 10 for generic field capture of user entity

vtiger development vtiger-tickets at trac.vtiger.com
Sun Nov 22 14:01:53 EST 2009


#6430: use of uitype 10 for generic field capture of user entity
-------------------------+--------------------------------------------------
  Reporter:  joebordes   |       Owner:  developer            
      Type:  defect      |      Status:  new                  
  Priority:  unassigned  |   Milestone:  5.2.0                
 Component:  vtlib       |     Version:  5.1.0                
Resolution:              |    Keywords:  vtlib uitype 10 users
-------------------------+--------------------------------------------------
Comment (by joebordes):

 This change also necessary.

 {{{
 Index: include/utils/ListViewUtils.php
 ===================================================================
 --- include/utils/ListViewUtils.php     (revisión: 2141)
 +++ include/utils/ListViewUtils.php     (copia de trabajo)
 @@ -1265,7 +1265,7 @@
     $forfield = htmlspecialchars($_REQUEST['forfield'], ENT_QUOTES,
 $default_charset);
      $list_result_count = $i-1;
      $value =
 getValue($ui_col_array,$list_result,$fieldname,$focus,$module,$entity_id,$list_result_count,"search",$focus->popup_type);
 -    if(isset($forfield) && $forfield != '' && $focus->popup_type !=
 'detailview') {
 +    if(isset($forfield) && $forfield != '' && $focus->popup_type !=
 'detailview' && $forfield != 'reports_to_id') {
      $value = strip_tags($value); // Remove any previous html conversion
      $value = "<a value_from_popup($entity_id, \"$value\",
 \"$forfield\")'>$value</a>";
     }
 }}}

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




More information about the vtigercrm-commits mailing list