From 6bce32d0c59b225054cb6e3887a81f18c2852e04 Mon Sep 17 00:00:00 2001
From: its4you <sopko@its4you.sk>
Date: Mon, 15 May 2017 13:13:07 +0200
Subject: [PATCH] Fix for warning in ReportsRun.php

---
 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