[Vtigercrm-commits] [vtiger-commits] r9272 - /vtigercrm/trunk/include/utils/SearchUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Sep 5 07:21:52 EDT 2006
Author: saraj
Date: Tue Sep 5 05:21:48 2006
New Revision: 9272
Log:
changes made search string with quotes. Fixes #2063
Modified:
vtigercrm/trunk/include/utils/SearchUtils.php
Modified: vtigercrm/trunk/include/utils/SearchUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/SearchUtils.php (original)
+++ vtigercrm/trunk/include/utils/SearchUtils.php Tue Sep 5 05:21:48 2006
@@ -205,7 +205,7 @@
}
if(isset($_REQUEST['search_text']) && $_REQUEST['search_text']!="")
{
- $search_string=ltrim(rtrim($_REQUEST['search_text']));
+ $search_string=addslashes(ltrim(rtrim($_REQUEST['search_text'])));
}
if(isset($_REQUEST['searchtype']) && $_REQUEST['searchtype']!="")
{
More information about the vtigercrm-commits
mailing list