catch PHP warning
This commit is contained in:
parent
8719ca9b49
commit
a012fc2ee5
@ -21,8 +21,7 @@ if (@$_SESSION['AUTHENTICATED']) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Always fetch this since we need for ministats header
|
// Always fetch this since we need for ministats header
|
||||||
if ($bitcoin->can_connect() === true)
|
$bitcoin->can_connect() === true ? $dNetworkHashrate = $bitcoin->query('getnetworkhashps') : $dNetworkHashrate = 0;
|
||||||
$dNetworkHashrate = $bitcoin->query('getnetworkhashps');
|
|
||||||
|
|
||||||
// Fetch some data
|
// Fetch some data
|
||||||
$iCurrentActiveWorkers = $worker->getCountAllActiveWorkers();
|
$iCurrentActiveWorkers = $worker->getCountAllActiveWorkers();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user