From 75b1cac33faa25539074adbbcc24f125f05de352 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 1 Oct 2018 01:10:42 +0200 Subject: [PATCH] FIX Pagination stats --- htdocs/product/stats/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/stats/card.php b/htdocs/product/stats/card.php index 3982ea7b87e..dd12d9d7bf2 100644 --- a/htdocs/product/stats/card.php +++ b/htdocs/product/stats/card.php @@ -75,9 +75,9 @@ if (empty($search_year)) $search_year=$currentyear; $form = new Form($db); $htmlother = new FormOther($db); - $object = new Product($db); -if (! $id) + +if (! $id && empty($ref)) { llxHeader("",$langs->trans("ProductStatistics"));