Fixed ./includes/polling/applications/rrdcached.inc.php for php 53

This commit is contained in:
laf
2016-08-08 20:20:18 +01:00
parent bcd2476f32
commit 34feda8613

View File

@ -53,7 +53,8 @@ if ($agent_data['app']['rrdcached']) {
while ($max == -1 || $count < $max) {
$data .= fgets($sock, 128);
if ($max == -1) {
$max = explode(' ', $data)[0] + 1;
$tmp_max = explode(' ', $data);
$max = $tmp_max[0]+1;
}
$count++;
}