From d9d4b6e06db729dbc294ff05359cfdd6d6a31b1e Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 26 Oct 2017 13:03:39 +0200 Subject: [PATCH] Fix : Warning: A non-numeric value encountered in on line 57 58 59 --- htdocs/fourn/facture/document.php | 1 + 1 file changed, 1 insertion(+) 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;