1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-27 01:40:22 +02:00

direct singleton call

This commit is contained in:
secretr
2011-06-22 09:01:02 +00:00
parent f2d57ac05d
commit a58f52caa6

View File

@@ -672,8 +672,7 @@ class e_db_mysql
case 'todb': case 'todb':
default: default:
if($fieldValue == '') { return "''"; } if($fieldValue == '') { return "''"; }
$e107 = e107::getInstance(); return "'".e107::getParser()->toDB($fieldValue)."'";
return "'".$e107->tp->toDB($fieldValue)."'";
break; break;
} }
} }