XOOPS Cube Legacy base repository
修訂 | 69e2cfb9d707c4ab8af89ef8769d02fd0672fa57 (tree) |
---|---|
時間 | 2009-03-21 13:18:28 |
作者 | mumincacao <mumincacao@704c...> |
Commiter | mumincacao |
Fix Bug #2699408 - Specify 2nd argument of mysql_real_escape_string().
git-svn-id: https://xoopscube.svn.sourceforge.net/svnroot/xoopscube/Package_Legacy/trunk@102 704cf05f-ae62-4b0e-a484-234ee0250e75
@@ -15,6 +15,7 @@ XOOPS Cube Legacy "Package_Legacy" & "XCube core" Changelog | ||
15 | 15 | - Fix Bug #2690736 - typo: X_ITEM_TILE (X_ITEM_TITLE?) default_notify.tpl |
16 | 16 | - Fix Bug #2690739 - typo in /install/include/functions.php, line 38 |
17 | 17 | - Fix Bug #2696701 - user_lostpass.html email maxlength too short |
18 | +- Fix Bug #2699408 - Specify 2nd argument of mysql_real_escape_string(). | |
18 | 19 | |
19 | 20 | [Bug Fix - From "XCube" Bug Tracker] |
20 | 21 | - Fix Bug #2656854 - XC_CLASS_EXISTS loops infinity. |
@@ -220,7 +220,7 @@ class XoopsMySQLDatabase extends XoopsDatabase | ||
220 | 220 | */ |
221 | 221 | function quoteString($str) |
222 | 222 | { |
223 | - $str = "'".mysql_real_escape_string($str)."'"; | |
223 | + $str = "'".mysql_real_escape_string($str, $this->conn)."'"; | |
224 | 224 | return $str; |
225 | 225 | } |
226 | 226 |