From c1b9878ba2e672b48f87a4d7bd14ea1b238d70a1 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Wed, 10 Nov 2010 20:16:32 +0000
Subject: [PATCH] Fix: XSS injection

---
 htdocs/comm/action/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index 0f14c64dc1a..cba76d72e6c 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -40,7 +40,7 @@ $showbirthday = GETPOST("showbirthday","int")?GETPOST("showbirthday","int"):0;
 
 $sortfield = GETPOST("sortfield");
 $sortorder = GETPOST("sortorder");
-$page = GETPOST("page","int");
+$page = GETPOST("page");
 if ($page == -1) { $page = 0 ; }
 $limit = $conf->liste_limit;
 $offset = $limit * $page ;
-- 
GitLab