diff --git a/htdocs/comm/action/list.php b/htdocs/comm/action/list.php
index 54da96d7be0..c58c34f3d72 100644
--- a/htdocs/comm/action/list.php
+++ b/htdocs/comm/action/list.php
@@ -44,7 +44,7 @@ $month=GETPOST("month",'int');
$day=GETPOST("day",'int');
$pid=GETPOST("projectid",'int',3);
$status=GETPOST("status",'alpha');
-$type=GETPOST('type');
+$type=GETPOST('type','alphanohtml');
$optioncss = GETPOST('optioncss','alpha');
// Set actioncode (this code must be same for setting actioncode into peruser, listacton and index)
if (GETPOST('actioncode','array'))
@@ -358,7 +358,7 @@ if ($resql)
//if ($actioncode) $nav.='';
//if ($resourceid) $nav.='';
if ($filter) $nav.='';
- if ($filtert) $nav.='';
+ //if ($filtert) $nav.='';
//if ($socid) $nav.='';
if ($showbirthday) $nav.='';
//if ($pid) $nav.='';