SF Bug #3531956 - Search / Show Attributes must be lowercase

This commit is contained in:
Deon George
2012-09-05 22:44:46 +10:00
parent f1ed59a35e
commit bbedf18b7e
2 changed files with 5 additions and 3 deletions

View File

@@ -247,8 +247,8 @@ class Query extends xmlTemplate {
# If our display order is empty, then dynamically build it
if (! count($result)) {
foreach ($this->results as $details)
foreach ($details as $attrs)
$result = array_merge($result,array_keys(array_change_key_case($attrs)));
foreach ($details as $attrs)
$result = array_merge($result,array_keys(array_change_key_case($attrs)));
$result = array_unique($result);
sort($result);