[Vtigercrm-commits] [vtiger-commits] r7311 - /vtigercrm/trunk/include/utils/ListViewUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 20 12:33:00 EDT 2006


Author: richie
Date: Tue Jun 20 10:32:50 2006
New Revision: 7311

Log:
fixed query issue in getListQuery() for Accounts

Modified:
    vtigercrm/trunk/include/utils/ListViewUtils.php

Modified: vtigercrm/trunk/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/ListViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/ListViewUtils.php Tue Jun 20 10:32:50 2006
@@ -1620,13 +1620,13 @@
 
                         if(sizeof($current_user_groups) > 0)
                         {
-                              $query .= "accountgrouprelation.groupname IN (
+                              $query .= "vtiger_accountgrouprelation.groupname IN (
 				      		SELECT groupname
 						FROM vtiger_groups
 						WHERE groupid IN ".getCurrentUserGroupList().")
 					OR ";
                         }
-                         $query .= "accountgrouprelation.groupname IN (
+                         $query .= "vtiger_accountgrouprelation.groupname IN (
 				 	SELECT vtiger_groups.groupname
 					FROM vtiger_tmp_read_group_sharing_per
 					INNER JOIN vtiger_groups





More information about the vtigercrm-commits mailing list