[Vtigercrm-commits] [vtiger-commits] r4440 - /vtigercrm/branches/4.2_postgresql_integration/modules/Users/updateLeadDBStatus.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 27 02:26:09 EST 2006


Author: allanbush
Date: Mon Mar 27 00:26:03 2006
New Revision: 4440

Log:
Pervent attempt to update the status of a lead using an empty string as the id.  Ref #17.

Modified:
    vtigercrm/branches/4.2_postgresql_integration/modules/Users/updateLeadDBStatus.php

Modified: vtigercrm/branches/4.2_postgresql_integration/modules/Users/updateLeadDBStatus.php
==============================================================================
--- vtigercrm/branches/4.2_postgresql_integration/modules/Users/updateLeadDBStatus.php (original)
+++ vtigercrm/branches/4.2_postgresql_integration/modules/Users/updateLeadDBStatus.php Mon Mar 27 00:26:03 2006
@@ -21,6 +21,7 @@
 
 global $adb;
 $storearray = explode(";",$idlist);
+$storearray = array_filter($storearray);
 
 $date_var = date('YmdHis');
 if(isset($_REQUEST['user_id']) && $_REQUEST['user_id']!='')





More information about the vtigercrm-commits mailing list