1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-14 01:22:13 +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':
default:
if($fieldValue == '') { return "''"; }
$e107 = e107::getInstance();
return "'".$e107->tp->toDB($fieldValue)."'";
return "'".e107::getParser()->toDB($fieldValue)."'";
break;
}
}