1
0
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:
Cameron
2021-02-02 07:34:36 -08:00
parent cb6ddff64b
commit ed94389451
2 changed files with 139 additions and 1 deletions

View File

@@ -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;