Skip to content

Commit

Permalink
Merge branch 'master' of http://github.com/tsolucio/corebos
Browse files Browse the repository at this point in the history
  • Loading branch information
joebordes committed Jan 20, 2017
2 parents 7dc3a29 + f608326 commit 8c6d084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Reports/ReportRun.php
Expand Up @@ -1336,7 +1336,7 @@ function getGroupingList($reportid)
if($selectedfields[0] == "vtiger_crmentity".$this->primarymodule)
$selectedfields[0] = "vtiger_crmentity";
if(stripos($selectedfields[1],'cf_')==0 && stristr($selectedfields[1],'cf_')==true){
$sqlvalue = "".$adb->sql_escape_string(decode_html($selectedfields[2]))." ".$sortorder;
$sqlvalue = "`".$adb->sql_escape_string(decode_html($selectedfields[2]))."` ".$sortorder;
} else {
$sqlvalue = "`".self::replaceSpecialChar($selectedfields[2])."` ".$sortorder;
}
Expand Down

0 comments on commit 8c6d084

Please sign in to comment.