phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_sql.inc.php,1.86,1.8


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_sql.inc.php,1.86,1.87
Date: Tue, 07 May 2002 08:54:15 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv23575

Modified Files:
        class.accounts_sql.inc.php 
Log Message:
cancel quotes in search string

Index: class.accounts_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.accounts_sql.inc.php,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -r1.86 -r1.87
*** class.accounts_sql.inc.php  21 Apr 2002 17:42:40 -0000      1.86
--- class.accounts_sql.inc.php  7 May 2002 12:54:12 -0000       1.87
***************
*** 120,125 ****
                        }
  
!                       if ($query)
                        {
                                if ($whereclause)
                                {
--- 120,128 ----
                        }
  
!                       if($query)
                        {
+                               $query = ereg_replace("'",'',$query);
+                               $query = ereg_replace('"','',$query);
+ 
                                if ($whereclause)
                                {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]