[Vtigercrm-commits] [vtiger-commits] r6783 - /vtigercrm/trunk/modules/CustomView/CustomView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue May 30 14:34:27 EDT 2006
Author: don
Date: Tue May 30 12:34:23 2006
New Revision: 6783
Log:
fixed sec query inner join issue
Modified:
vtigercrm/trunk/modules/CustomView/CustomView.php
Modified: vtigercrm/trunk/modules/CustomView/CustomView.php
==============================================================================
--- vtigercrm/trunk/modules/CustomView/CustomView.php (original)
+++ vtigercrm/trunk/modules/CustomView/CustomView.php Tue May 30 12:34:23 2006
@@ -305,7 +305,7 @@
else
{
$profileList = getCurrentUserProfileList();
- $sql = "select * from field inner join tab on tab.tabid = field.tabid innerjoin profile2field on profile2field.fieldid=field.fieldid inner join def_org_field on def_org_field.fieldid=field.fieldid ";
+ $sql = "select * from field inner join tab on tab.tabid = field.tabid inner join profile2field on profile2field.fieldid=field.fieldid inner join def_org_field on def_org_field.fieldid=field.fieldid ";
$sql.= " where field.tabid=".$tabid." and field.block in (".$blockids.") and (field.uitype =5 or field.displaytype=2)";
$sql.= " and profile2field.visible=0";
$sql.= " and def_org_field.visible=0 and profile2field.profileid in ".$profileList." order by field.sequence";
More information about the vtigercrm-commits
mailing list