[Vtigercrm-commits] [vtiger-commits] r5080 - /vtigercrm/branches/4.2/data/CRMEntity.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 12 17:40:37 EDT 2006


Author: allanbush
Date: Wed Apr 12 15:40:35 2006
New Revision: 5080

Log:
Using the key word null for inserting null values instead of an empty string.  Closes #48.  This change effects just about every page so we may wish to back it out until after 4.2.4, however it's used in the postgres branch without issue.

Modified:
    vtigercrm/branches/4.2/data/CRMEntity.php

Modified: vtigercrm/branches/4.2/data/CRMEntity.php
==============================================================================
--- vtigercrm/branches/4.2/data/CRMEntity.php (original)
+++ vtigercrm/branches/4.2/data/CRMEntity.php Wed Apr 12 15:40:35 2006
@@ -486,7 +486,7 @@
 		  {
 			  $fldvalue = '';
 		  }
-		  if($fldvalue=='') $fldvalue ="''";
+		  if($fldvalue=='') $fldvalue ="null";
 		  if($insertion_mode == 'edit')
 		  {
 			  //code by shankar starts





More information about the vtigercrm-commits mailing list