From b484063160bfb1a33a686c658cbcafed5deb9bcf Mon Sep 17 00:00:00 2001
From: its4you <sopko@its4you.sk>
Date: Mon, 15 May 2017 13:14:02 +0200
Subject: [PATCH] Revert "back"

This reverts commit c9f4c029466d893641d64e82a55963127f19bfed.
---
 modules/Reports/ReportRun.php | 3 +++
 1 file changed, 3 insertions(+)

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