POG_Base should use mysql_real_escape_string with Database Connection
Bug #811012 reported by
Loksly
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PHP Object Generator |
New
|
Undecided
|
Unassigned |
Bug Description
If you give the second parameter it might not use the right connection
(it will use the last opened connection or the default one specified at php.ini).
Here is the "diff -Bub" patch.
--- class.pog_base.php 2092-08-05 00:00:00.000000000 +0200
+++ class.pog_base.php 2011-07-15 13:28:20.000000000 +0200
@@ -56,7 +56,7 @@
{
return base64_
}
- return mysql_real_
+ return mysql_real_
}
/**
To post a comment you must log in.