diff --git a/htdocs/fourn/facture/document.php b/htdocs/fourn/facture/document.php index 6926770bd91..818c016de04 100644 --- a/htdocs/fourn/facture/document.php +++ b/htdocs/fourn/facture/document.php @@ -54,6 +54,7 @@ $page = GETPOST("page",'int'); if ($page == -1) { $page = 0; } +$page = (is_numeric($page) ? $page : 0); $offset = $conf->liste_limit * $page; $pageprev = $page - 1; $pagenext = $page + 1;