Fix: [ bug #1381 ] PHP Warning when listing stock transactions page
This commit is contained in:
parent
847fa3827b
commit
09b5971b7d
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user