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:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user