[Vtigercrm-commits] [vtiger-commits] r5322 - /vtigercrm/trunk/modules/Leads/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Apr 25 04:59:13 EDT 2006
Author: richie
Date: Tue Apr 25 02:59:08 2006
New Revision: 5322
Log:
code removed a bit and replaced by a common code to support change owner
Modified:
vtigercrm/trunk/modules/Leads/ListView.php
Modified: vtigercrm/trunk/modules/Leads/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/ListView.php (original)
+++ vtigercrm/trunk/modules/Leads/ListView.php Tue Apr 25 02:59:08 2006
@@ -60,14 +60,8 @@
//for change owner and change status
$change_status = get_select_options_with_id($comboFieldArray['leadstatus_dom'], $focus->lead_status);
$smarty->assign("CHANGE_STATUS",$change_status);
-$result=$adb->query("select * from users");
-for($i=0;$i<$adb->num_rows($result);$i++)
-{
- $useridlist[$i]=$adb->query_result($result,$i,'id');
- $usernamelist[$useridlist[$i]]=$adb->query_result($result,$i,'user_name');
-}
-$change_owner = get_select_options_with_id($usernamelist, $focus->lead_owner);
-$smarty->assign("CHANGE_OWNER",$change_owner);
+
+$smarty->assign("CHANGE_OWNER",getUserslist());
More information about the vtigercrm-commits
mailing list