[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc functions.inc.php,1.181
From: |
fipsfuchs |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc functions.inc.php,1.181 |
Date: |
Wed, 4 May 2005 16:35:00 +0200 |
Update of phpgwapi/inc
Modified Files:
Branch: MAIN
functions.inc.php lines: +2 -2
Log Message:
patch 3489
db_addslashes fixed
====================================================
Index: phpgwapi/inc/functions.inc.php
diff -u phpgwapi/inc/functions.inc.php:1.180
phpgwapi/inc/functions.inc.php:1.181
--- phpgwapi/inc/functions.inc.php:1.180 Mon May 2 08:02:36 2005
+++ phpgwapi/inc/functions.inc.php Wed May 4 14:35:47 2005
@@ -201,7 +201,7 @@
$GLOBALS['phpgw']->db->query($cache_query,__LINE__,__FILE__);
}
$cache_query = 'INSERT INTO
phpgw_app_sessions(sessionid,loginid,app,location,content) VALUES('
- .
"'0','0','phpgwapi','config','".addslashes(serialize($GLOBALS['phpgw_info']['server']))."')";
+ .
"'0','0','phpgwapi','config','".$GLOBALS['phpgw']->db->db_addslashes(serialize($GLOBALS['phpgw_info']['server']))."')";
$GLOBALS['phpgw']->db->query($cache_query,__LINE__,__FILE__);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc functions.inc.php,1.181,
fipsfuchs <=