Commit ecf7d1ed authored by Ad Schellevis's avatar Ad Schellevis

(legacy) some more uninialized var fixes

parent 9c34a5e3
......@@ -183,7 +183,7 @@ $pgtitle_output = true;
<?php
if (!$hide_service_status && !empty($shortcuts[$shortcut_section]['service'])) {
if (isset($shortcut_section) && !$hide_service_status && !empty($shortcuts[$shortcut_section]['service'])) {
$ssvc = array();
switch ($shortcut_section) {
case "openvpn":
......
......@@ -94,4 +94,4 @@ $pagetitle = gentitle( $pgtitle );
<? endif; ?>
<?php if (!$closehead):?></head><? endif;?>
<?php if (!isset($closehead) || !$closehead):?></head><? endif;?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment