phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc class.db.inc.php [Version-0_9_16-branch]


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc class.db.inc.php [Version-0_9_16-branch]
Date: Mon, 24 Apr 2006 15:17:02 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Branch:         Version-0_9_16-branch
Changes by:     Dave Hall <address@hidden>      06/04/24 15:17:02

Modified files:
        inc            : class.db.inc.php 

Log message:
        stop double quoting

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/phpgwapi/inc/class.db.inc.php.diff?only_with_tag=Version-0_9_16-branch&tr1=1.6.4.5&tr2=1.6.4.6&r1=text&r2=text

Patches:
Index: phpgwapi/inc/class.db.inc.php
diff -u phpgwapi/inc/class.db.inc.php:1.6.4.5 
phpgwapi/inc/class.db.inc.php:1.6.4.6
--- phpgwapi/inc/class.db.inc.php:1.6.4.5       Tue Feb 10 13:51:17 2004
+++ phpgwapi/inc/class.db.inc.php       Mon Apr 24 15:17:02 2006
@@ -9,7 +9,7 @@
        * @link http://www.sanisoft.com/phplib/manual/DB_sql.php
        * @package phpgwapi
        * @subpackage database
-       * @version $Id: class.db.inc.php,v 1.6.4.5 2004/02/10 13:51:17 ceb Exp $
+       * @version $Id: class.db.inc.php,v 1.6.4.6 2006/04/24 15:17:02 skwashd 
Exp $
        */
 
        if (empty($GLOBALS['phpgw_info']['server']['db_type']))
@@ -164,6 +164,11 @@
                                return '';
                        }
 
+                       if ( get_magic_quotes_gpc() )
+                       {
+                               $str = stripslashes($str);
+                       }
+
                        return addslashes($str);
                }
 




reply via email to

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