[Vtigercrm-commits] [vtiger-commits] r6964 - /vtigercrm/branches/4.2/include/utils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 7 21:10:20 EDT 2006
Author: allanbush
Date: Wed Jun 7 19:10:16 2006
New Revision: 6964
Log:
Fixes problems displaying quotes without associated potentials caused by query error. Ref #1281.
Modified:
vtigercrm/branches/4.2/include/utils.php
Modified: vtigercrm/branches/4.2/include/utils.php
==============================================================================
--- vtigercrm/branches/4.2/include/utils.php (original)
+++ vtigercrm/branches/4.2/include/utils.php Wed Jun 7 19:10:16 2006
@@ -2310,6 +2310,7 @@
{
global $vtlog;
$vtlog->logthis("in getPotentialName ".$potential_id,'info');
+ if(!$potential_id) return '';
global $adb;
$sql = "select potentialname from potential where potentialid=".$potential_id;
$result = $adb->query($sql);
More information about the vtigercrm-commits
mailing list