[Vtigercrm-commits] [vtiger-commits] r7330 - /vtigercrm/trunk/modules/Home/UnifiedSearch.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 21 03:06:08 EDT 2006


Author: saraj
Date: Wed Jun 21 01:06:04 2006
New Revision: 7330

Log:
* Modified to avoid the deleted records coming in the search result

Modified:
    vtigercrm/trunk/modules/Home/UnifiedSearch.php

Modified: vtigercrm/trunk/modules/Home/UnifiedSearch.php
==============================================================================
--- vtigercrm/trunk/modules/Home/UnifiedSearch.php (original)
+++ vtigercrm/trunk/modules/Home/UnifiedSearch.php Wed Jun 21 01:06:04 2006
@@ -117,7 +117,7 @@
 		}
 
 		if($where != '')
-			$listquery .= ' and '.$where;
+			$listquery .= ' and ('.$where.')';
 		
 		$list_result = $adb->query($listquery);
 		$noofrows = $adb->num_rows($list_result);





More information about the vtigercrm-commits mailing list