diff --git a/htdocs/product/list.php b/htdocs/product/list.php index 1cf80a98b79..8f2eed18829 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -1939,6 +1939,17 @@ if ($resql) { $db->free($resql); + // If no record found + if ($num == 0) { + $colspan = 1; + foreach ($arrayfields as $key => $val) { + if (!empty($val['checked'])) { + $colspan++; + } + } + print '