Skip to content

Commit

Permalink
Issue #371: Fix undefined index for port (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkshire-pudding authored May 7, 2024
1 parent 476c2ea commit ad83973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/status.bee.inc
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function status_bee_callback($arguments, $options) {
);
$rows[] = array(
array('value' => bt('Database port')),
array('value' => $info['port']),
array('value' => array_key_exists('port', $info) ? $info['port'] : NULL),
);

// States directly from database, as state_get() requires a higher
Expand Down

0 comments on commit ad83973

Please sign in to comment.