diff --git a/interface/lib/classes/listform.inc.php b/interface/lib/classes/listform.inc.php
index 8f5bd86fc0e79f856071aec4c7100e3d1220f5f8..d4ed7525495294e0e80ffccb019f8127ed40ac4a 100644
--- a/interface/lib/classes/listform.inc.php
+++ b/interface/lib/classes/listform.inc.php
@@ -199,13 +199,15 @@ class listform {
 				$searchval = $_SESSION['search'][$list_name][$search_prefix.$field];
 				// IDN
 				if($searchval != ''){
-					foreach($i['filters'] as $searchval_filter) {
-						if($searchval_filter['event'] == 'SHOW') {
-							switch ($searchval_filter['type']) {
-							case 'IDNTOUTF8':
-								$searchval = $app->functions->idn_encode($searchval);
-								//echo $searchval;
-								break;
+					if(is_array($i['filters'])) {
+						foreach($i['filters'] as $searchval_filter) {
+							if($searchval_filter['event'] == 'SHOW') {
+								switch ($searchval_filter['type']) {
+								case 'IDNTOUTF8':
+									$searchval = $app->functions->idn_encode($searchval);
+									//echo $searchval;
+									break;
+								}
 							}
 						}
 					}