frontends/php/api/classes/class.chost.php
The first line create an array inside the array so the next foreach statment fail.
This fix also this error:
This fix I believe break the delete of multiple hosts...
Code:
public static function delete($hostids){
//$hostids = zbx_toArray($hostids);
if(empty($hostids)) return true;
This fix also this error:
This fix I believe break the delete of multiple hosts...
Comment