mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Fixes #4369 Reverted model multi-dimensional support for now. Added test for custom-fields scenario.
This commit is contained in:
@@ -2723,7 +2723,8 @@ class e_front_model extends e_model
|
||||
{
|
||||
if($this->isValidFieldKey($k))
|
||||
{
|
||||
$ret[$k] = is_array($v) ? $this->sanitize($v) : $this->sanitize($k, $v);
|
||||
$ret[$k] = $this->sanitize($k, $v);
|
||||
// $ret[$k] = is_array($v) ? $this->sanitize($v) : $this->sanitize($k, $v);
|
||||
}
|
||||
}
|
||||
return $ret;
|
||||
|
Reference in New Issue
Block a user