diff --git a/include/utils/ListViewUtils.php b/include/utils/ListViewUtils.php index 4c94a6e512242028b005ee2d6fa10b233c3403e9..deaa09fa8eef69286588c20f5b9cce8285c4af4d 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);