From bf6a7a2d21877871989e52ab4279ba88c2022c6f Mon Sep 17 00:00:00 2001
From: its4you <sopko@its4you.sk>
Date: Mon, 15 May 2017 11:16:40 +0200
Subject: [PATCH] fix for warning message

---
 include/utils/ListViewUtils.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/utils/ListViewUtils.php b/include/utils/ListViewUtils.php
index 4c94a6e5..deaa09fa 100755
--- a/include/utils/ListViewUtils.php
+++ b/include/utils/ListViewUtils.php
@@ -674,7 +674,7 @@ function decode_emptyspace_html($str){
 function decode_html($str) {
 	global $default_charset;
 	// Direct Popup action or Ajax Popup action should be treated the same.
-	if ($_REQUEST['action'] == 'Popup' || $_REQUEST['file'] == 'Popup')
+	if ((isset($_REQUEST['action']) && $_REQUEST['action'] == 'Popup') ||(isset($_REQUEST['action']) && $_REQUEST['file'] == 'Popup'))
 		return html_entity_decode($str);
 	else
 		return html_entity_decode($str, ENT_QUOTES, $default_charset);
-- 
GitLab