Skip to content
Snippets Groups Projects
Commit 09b5971b authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: [ bug #1381 ] PHP Warning when listing stock transactions page

parent 847fa382
No related branches found
No related tags found
No related merge requests found
......@@ -517,7 +517,7 @@ if ($resql)
print "</table><br>";
// Add number of product when there is a filter on period
if (count($arrayofuniqueproduct) == 1)
if (count($arrayofuniqueproduct) == 1 && is_numeric($year))
{
$productidselected=0;
foreach ($arrayofuniqueproduct as $key => $val)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment