[Vtigercrm-commits] [vtiger-commits] r11070 - /vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 27 07:41:58 EDT 2007
Author: richie
Date: Sun May 27 05:41:52 2007
New Revision: 11070
Log:
* fixes for invoices list view account id is empty._allen
Modified:
vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php
Modified: vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/ListViewUtils.php Sun May 27 05:41:52 2007
@@ -3450,7 +3450,7 @@
// for avoid single quotes error
$slashes_account_name = popup_from_html($account_name);
- $sql = "select accountid from vtiger_account inner join vtiger_crmentity on vtiger_crmentity.crmid = vtiger_account.accountid where vtiger_crmentity.deleted=0 and accountname='".$slashes_account_name."'";
+ $sql = "select accountid from vtiger_account where accountname='".$slashes_account_name."'";
$result = $adb->query($sql);
$accountid = $adb->query_result($result,0,"accountid");
}
More information about the vtigercrm-commits
mailing list