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:
parent
f2d57ac05d
commit
a58f52caa6
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user