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

Merge branch 'Empty_Reports_PicklistUtils' into 'master'

Fixes #1232 Displayed report is empty as picklist values failed to retrieve

See merge request !533
parents b258e7eb 42a3df07
Branches kill_spliti
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ function getAllPickListValues($fieldName,$lang = Array() ){
$arr = array();
for($i=0;$i<$count;$i++){
$pick_val = decode_html($adb->query_result($result, $i, $fieldName));
if($lang[$pick_val] != ''){
if(is_array($lang) && $lang[$pick_val] != ''){
$arr[$pick_val] = $lang[$pick_val];
}
else{
......
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