mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Fixes #4165 - Custom field problem with single quote value.
This commit is contained in:
parent
d9037999dd
commit
7081737f12
@ -440,9 +440,11 @@
|
||||
|
||||
$ui->getModel()->set($fieldname, null);
|
||||
|
||||
$tp = e107::getParser();
|
||||
|
||||
foreach($this->_data as $key=>$value)
|
||||
{
|
||||
$ui->getModel()->set($fieldname.'__'.$key, $value);
|
||||
$ui->getModel()->set($fieldname.'__'.$key, $tp->toDB($value));
|
||||
// e107::getDebug()->log($fieldname.'__'.$key.": ".$value);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user