1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Forum work

This commit is contained in:
mcfly
2008-12-07 00:21:21 +00:00
parent 3641d9501e
commit 497f433bbf
6 changed files with 143 additions and 90 deletions

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/mysql_class.php,v $
| $Revision: 1.31 $
| $Date: 2008-11-29 18:47:39 $
| $Revision: 1.32 $
| $Date: 2008-12-07 00:21:20 $
| $Author: mcfly_e107 $
|
+----------------------------------------------------------------------------+
@@ -30,7 +30,7 @@ $db_ConnectionID = NULL; // Stores ID for the first DB connection used - which s
* MySQL Abstraction class
*
* @package e107
* @version $Revision: 1.31 $
* @version $Revision: 1.32 $
* @author $Author: mcfly_e107 $
*/
class db {
@@ -445,6 +445,10 @@ class db {
return "'{$fieldValue}'";
break;
case 'escape':
return "'".mysql_real_escape_string($fieldValue)."'";
break;
case 'todb':
default:
if($fieldValue == '') { return "''"; }