[Vtigercrm-commits] [vtiger-commits] r10771 - /vtigercrm/branches/5.0.3/data/CRMEntity.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Apr 24 09:50:41 EDT 2007
Author: saraj
Date: Tue Apr 24 07:50:35 2007
New Revision: 10771
Log:
unabled to save inactive products - fixed
Modified:
vtigercrm/branches/5.0.3/data/CRMEntity.php
Modified: vtigercrm/branches/5.0.3/data/CRMEntity.php
==============================================================================
--- vtigercrm/branches/5.0.3/data/CRMEntity.php (original)
+++ vtigercrm/branches/5.0.3/data/CRMEntity.php Tue Apr 24 07:50:35 2007
@@ -451,6 +451,10 @@
$fldvalue = '';
}
if($fldvalue=='') $fldvalue ="NULL";
+
+ if($columname == 'discontinued' && $fldvalue=='NULL')
+ $fldvalue = '0';
+
if($insertion_mode == 'edit')
{
if($table_name == 'vtiger_notes' && $columname == 'filename' && $_FILES['filename']['name'] == '')
More information about the vtigercrm-commits
mailing list