Skip to content
Snippets Groups Projects
Commit 0159bb41 authored by Uma's avatar Uma
Browse files

Merge branch '1557_FixUndefinedConstant' into '7.4.0'

Patch to fix #1557

Encapsulates arrap_map function name in quotes. Refs #1557

See merge request !779
parents abf68660 4e63a58e
No related branches found
No related tags found
2 merge requests!802Field Mapping ID fix,!793#1533 issue on date formate
...@@ -1258,7 +1258,7 @@ class QueryGenerator { ...@@ -1258,7 +1258,7 @@ class QueryGenerator {
if(is_string($value)) { if(is_string($value)) {
$value = trim($value); $value = trim($value);
} elseif(is_array($value)) { } elseif(is_array($value)) {
$value = array_map(trim, $value); $value = array_map('trim', $value);
} }
return array('name'=>$fieldname,'value'=>$value,'operator'=>$operator); return array('name'=>$fieldname,'value'=>$value,'operator'=>$operator);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment