Skip to content

Commit

Permalink
Merge pull request #190 from nyirocsaba/master
Browse files Browse the repository at this point in the history
Fix "Undefined variable $serverLabel" warning in php 8+
  • Loading branch information
pentium10 authored Oct 9, 2022
2 parents 1f6bb94 + f808632 commit bf5707e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tpl/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<title>
<?php if ($tube) echo $tube . ' - ' ?>
<?php echo $serverLabel ? $serverLabel : 'All servers' ?> -
<?php echo !empty($serverLabel) ? $serverLabel : 'All servers' ?> -
Beanstalk console
</title>

Expand Down

0 comments on commit bf5707e

Please sign in to comment.