-
Type:
Incident report
-
Resolution: Fixed
-
Priority:
Minor
-
Affects Version/s: 2.0.5rc1, 2.1.0
-
Component/s: Frontend (F)
-
None
Sometimes if item has no values zbx_avg function executes with errors:
1. Invalid argument for foreach
2. Division by zero.
It happens because $values variable does not contain array. It is "NULL".