Skip to content

Commit

Permalink
Update control_functions.php
Browse files Browse the repository at this point in the history
The Reboot button was not shown without activating another one. Probably not intended  so  I did this micro adjustment
  • Loading branch information
VikingGer authored and Isaac Connor committed Sep 16, 2022
1 parent a04510d commit b3bad6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/skins/classic/includes/control_functions.php
Expand Up @@ -248,7 +248,7 @@ function ptzControls($monitor) {
</div>
<?php
}
if ( $control->CanWake() || $control->CanSleep() || $control->CanReset() )
if ( $control->CanWake() || $control->CanSleep() || $control->CanReset() || $control->CanReboot() )
echo controlPower($monitor, $cmds);
if ( $control->HasPresets() )
echo controlPresets($monitor, $cmds);
Expand Down

0 comments on commit b3bad6a

Please sign in to comment.