Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
otrok7 committed Nov 14, 2024
1 parent f2ec3f5 commit 5263f83
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions admin/partials/bread-admin-display.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ function __construct($admin)
$this->admin = $admin;
$this->refresh_status();
}
private function refresh_status() {
private function refresh_status()
{
$serverInfo = Bread_Bmlt::testRootServer();
$this->connected = is_array($serverInfo) && array_key_exists("version", $serverInfo[0]) ? $serverInfo[0]["version"] : '';
if ($serverInfo[0]["aggregator_mode_enabled"] ?? false) {
Expand Down Expand Up @@ -54,7 +55,8 @@ private function select_service_bodies()
}
}
private function select_service_body_options(int $i)
{ ?>
{
?>
<option value="Not Used">Not Used</option><?php
foreach ($this->unique_areas as $area) {
$area_data = explode(',', $area);
Expand Down

0 comments on commit 5263f83

Please sign in to comment.