[Vtigercrm-commits] [vtiger-commits] r4286 - /vtigercrm/trunk/modules/Accounts/AccountFormBase.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat Mar 18 00:41:15 EST 2006
Author: saraj
Date: Fri Mar 17 22:41:11 2006
New Revision: 4286
Log:
Removed commented code from this file Ahmed
Modified:
vtigercrm/trunk/modules/Accounts/AccountFormBase.php
Modified: vtigercrm/trunk/modules/Accounts/AccountFormBase.php
==============================================================================
--- vtigercrm/trunk/modules/Accounts/AccountFormBase.php (original)
+++ vtigercrm/trunk/modules/Accounts/AccountFormBase.php Fri Mar 17 22:41:11 2006
@@ -34,11 +34,9 @@
$baseQuery = 'select id, name, website, billing_address_city from accounts where deleted!=1 and (';
if(isset($_POST[$prefix.'name']) && !empty($_POST[$prefix.'name'])){
$query = $baseQuery ." name like ".PearDatabase::quote('%'.$_POST[$prefix.'name'].'%');
- //$query = $baseQuery ." name like '%".PearDatabase::quote($_POST[$prefix.'name'])."%'";
}
if(isset($_POST[$prefix.'website']) && !empty($_POST[$prefix.'website'])){
if(empty($query)){
- // $query = $baseQuery ." website like '".PearDatabase::quote($_POST[$prefix.'website'])."%'";
$query = $baseQuery ." website like ".PearDatabase::quote($_POST[$prefix.'website'].'%');
}else {
$query .= "or website like '".$_POST[$prefix.'website']."%'";
@@ -201,4 +199,4 @@
}
}
-?>
+?>
More information about the vtigercrm-commits
mailing list