[Vtigercrm-commits] [vtiger-commits] r10818 - /vtigercrm/branches/5.0.3/modules/Contacts/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 30 08:33:25 EDT 2007
Author: richie
Date: Mon Apr 30 06:33:19 2007
New Revision: 10818
Log:
missed file for patch integration #3653. --minnie
Modified:
vtigercrm/branches/5.0.3/modules/Contacts/DetailView.php
Modified: vtigercrm/branches/5.0.3/modules/Contacts/DetailView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Contacts/DetailView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Contacts/DetailView.php Mon Apr 30 06:33:19 2007
@@ -126,12 +126,12 @@
$smarty->assign("EDIT_PERMISSION",isPermitted($currentModule,'EditView',$_REQUEST[record]));
$smarty->assign("IS_REL_LIST",isPresentRelatedLists($currentModule));
+$sql = $adb->query('select accountid from vtiger_contactdetails where contactid='.$focus->id);
+$accountid = $adb->query_result($sql,0,'accountid');
+if($accountid == 0) $accountid='';
+$smarty->assign("accountid",$accountid);
if($singlepane_view == 'true')
{
- $sql = $adb->query('select accountid from vtiger_contactdetails where contactid='.$focus->id);
- $accountid = $adb->query_result($sql,0,'accountid');
- if($accountid == 0) $accountid='';
- $smarty->assign("accountid",$accountid);
$related_array = getRelatedLists($currentModule,$focus);
$smarty->assign("RELATEDLISTS", $related_array);
}
More information about the vtigercrm-commits
mailing list