diff --git a/modules/Reports/ReportRun.php b/modules/Reports/ReportRun.php index 5f9c6564c65c638ab52873f22aa3a1943a34120e..85efeebd8c064456975c004619116a904ac3d7c1 100644 --- a/modules/Reports/ReportRun.php +++ b/modules/Reports/ReportRun.php @@ -2848,9 +2848,6 @@ class ReportRun extends CRMEntity { $advfiltersql = $this->getAdvFilterSql($reportid); $this->totallist = $columnstotallist; - - $wheresql = ""; - global $current_user; //Fix for ticket #4915. $selectlist = $columnlist;