[Vtigercrm-commits] [vtiger-commits] r4152 - /vtigercrm/trunk/include/PopulateComboValues.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 14 02:39:52 EST 2006
Author: richie
Date: Tue Mar 14 00:39:48 2006
New Revision: 4152
Log:
mysql5 query support added
Modified:
vtigercrm/trunk/include/PopulateComboValues.php
Modified: vtigercrm/trunk/include/PopulateComboValues.php
==============================================================================
--- vtigercrm/trunk/include/PopulateComboValues.php (original)
+++ vtigercrm/trunk/include/PopulateComboValues.php Tue Mar 14 00:39:48 2006
@@ -30,11 +30,11 @@
{
if($val != '')
{
- $adb->query("insert into ".$tableName. " values('','".$val."',".$i.",1)");
+ $adb->query("insert into ".$tableName. " values(null,'".$val."',".$i.",1)");
}
else
{
- $adb->query("insert into ".$tableName. " values('','--None--',".$i.",1)");
+ $adb->query("insert into ".$tableName. " values(null,'--None--',".$i.",1)");
}
$i++;
}
More information about the vtigercrm-commits
mailing list